From 5a47c68fa53ad6875efc4425c33c61fea19d4eff Mon Sep 17 00:00:00 2001 From: CJ Steiner Date: Fri, 20 Dec 2024 13:09:51 -0600 Subject: [PATCH] ci: go up a dir first --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pypi.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99c53ec4..96bc4744 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,8 +26,8 @@ jobs: python-version: ${{ matrix.python }} cache: 'pip' cache-dependency-path: | - '**/requirements*.txt' - '**/setup.py' + '../**/requirements*.txt' + '../**/setup.py' - run: python -m pip install --upgrade setuptools pip tox virtualenv # Run tox only for the installed py version on the runner as outlined in the python matrix # Ensures the correct py version is installed and tested as opposed to 'tox' which attempts to run for all py versions in tox.ini diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 22db6c8b..ae7ee203 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -23,8 +23,8 @@ jobs: python-version: ${{ matrix.python }} cache: 'pip' cache-dependency-path: | - '**/requirements*.txt' - '**/setup.py' + '../**/requirements*.txt' + '../**/setup.py' - run: python -m pip install --upgrade setuptools pip tox virtualenv # Run tox only for the installed py version on the runner as outlined in the python matrix # Ensures the correct py version is installed and tested as opposed to 'tox' which attempts to run for all py versions in tox.ini @@ -43,8 +43,8 @@ jobs: python-version: 3.8 cache: 'pip' cache-dependency-path: | - '**/requirements*.txt' - '**/setup.py' + '../**/requirements*.txt' + '../**/setup.py' - name: Install dependencies run: pip install wheel - name: Build package