From 5eba98ad23c5b09f9852398ae99d041e5fe05000 Mon Sep 17 00:00:00 2001 From: yihuang Date: Thu, 5 Oct 2023 13:07:44 +0800 Subject: [PATCH] Problem: integration test workflow fails if no code changes (#1195) --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e7cd70904c..c49a6df66a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }}