Skip to content

Commit

Permalink
Problem: integration test workflow fails if no code changes (#1195)
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang authored Oct 5, 2023
1 parent 26ee8c7 commit 5eba98a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ jobs:
path: debug_files.tar.gz
if-no-files-found: ignore
- name: Convert coverage data
if: steps.changed-files.outputs.only_changed == 'false'
run: |
nix profile install ./nix#go_1_20
go tool covdata textfmt -i=integration_tests/coverage -o profile.txt
- name: Upload coverage report
if: steps.changed-files.outputs.only_changed == 'false'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit 5eba98a

Please sign in to comment.