diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index aab9cb8e..00b44a8d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -83,7 +83,7 @@ jobs: lint: name: Static check runs-on: ubuntu-latest - needs: [commons, pytest-changes, other-changes] + needs: [pytest-changes, other-changes] if: ${{ needs.pytest-changes.outputs.changed == 'true' || needs.other-changes.outputs.packages != '[]' }} steps: - uses: actions/checkout@v4 @@ -128,6 +128,11 @@ jobs: with: path: dist/ key: commons-${{ github.sha }} + fail-on-cache-miss: true + + - name: Check restored cache + run: | + ls dist/allure-python-commons*.tar.gz - name: Install packages run: | @@ -169,12 +174,18 @@ jobs: with: path: dist/ key: commons-${{ github.sha }} + fail-on-cache-miss: true + + - name: Check restored cache + run: | + ls dist/allure-python-commons*.tar.gz - name: Install packages - run: pip install dist/allure-python-commons*.tar.gz && - pip install ./${{ matrix.package }} && - pip install -r ./requirements/testing.txt && - pip install -r ./requirements/testing/${{ matrix.package }}.txt + run: | + pip install dist/allure-python-commons*.tar.gz \ + ./${{ matrix.package }} \ + -r ./requirements/testing.txt \ + -r ./requirements/testing/${{ matrix.package }}.txt - name: Test ${{ matrix.package }} working-directory: ${{ matrix.package }}