From 618102b4762a1d6b30761961dd3329727af8d05c Mon Sep 17 00:00:00 2001 From: Sebastiaan Zeeff Date: Wed, 18 Nov 2020 10:33:39 +0100 Subject: Debug skipped steps --- .github/workflows/lint-test.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 0bdcd98..f4ed94e 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -112,14 +112,11 @@ jobs: cmd='coverage run -m unittest; coverage report -m' docker exec snekbox_test /bin/bash -c "${cmd}" - - name: print output - run: echo "${{ steps.run_tests.outputs.started }}" - # Set-up a Python version to process the coverage reports # Note: This step runs even if the test step failed to make # sure we process the coverage reports. - name: Setup python - # if: always() && steps.run_tests.outputs.started == 'true' + if: always() && steps.run_tests.outputs.started == 'true' id: python uses: actions/setup-python@v2 with: @@ -134,7 +131,7 @@ jobs: # step in the check suite visible in the PR with a link to # the job. - name: Publish coverage report to coveralls.io - # if: always() && steps.tests.outputs.started == 'true' + if: always() && steps.run_tests.outputs.started == 'true' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | @@ -147,6 +144,11 @@ jobs: # the run, so it does not make sense to drop down to a completely # fresh build environment in a new worker/runner. + - name: print output + run: | + echo "${{ github.ref }}" + echo "${{ github.event_name != 'pull_request' && github.ref == 'sebastiaan/backend/cache-docker-images' }}" + # Build the final production image and push it to GHCR, tagging it # both with the short commit SHA and 'latest'. This step should use # the cache that was just generated when we built the test container. -- cgit v1.2.3