diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99c53ec41..96bc4744d 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 22db6c8ba..ae7ee2036 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