From 3fbf7ce6ece33339423ccf46380700221a52cb62 Mon Sep 17 00:00:00 2001 From: Eugene Myasyshchev Date: Sun, 1 Dec 2024 23:11:55 +0100 Subject: [PATCH] Fixing CI (#14) --- .github/workflows/push-test-artifacts.yml | 2 +- .github/workflows/test.yml | 5 ++--- Makefile | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/push-test-artifacts.yml b/.github/workflows/push-test-artifacts.yml index 4d79b87..cf49d97 100644 --- a/.github/workflows/push-test-artifacts.yml +++ b/.github/workflows/push-test-artifacts.yml @@ -24,7 +24,7 @@ jobs: - name: Get Test Artifacts run: | - gh run download --dir tests/golang/.cover/ -n test-artifacts-pr-${{ github.event.pull_request.node_id }} + gh run download --dir .cover/ -n test-artifacts-pr-${{ github.event.pull_request.node_id }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2816ef4..7760412 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,8 +28,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: test-artifacts-pr-${{ github.event.pull_request.node_id }} - path: | - tests/golang/.cover/coverage.svg - tests/golang/.cover/coverage.html + include-hidden-files: true + path: .cover/ retention-days: 10 overwrite: true \ No newline at end of file diff --git a/Makefile b/Makefile index 45cc230..6c0102a 100644 --- a/Makefile +++ b/Makefile @@ -197,7 +197,7 @@ tests/golang/push-test-artifacts: $(golang_tests_cover_dir)/coverage.svg.gh-cli- --input $(golang_tests_cover_dir)/coverage.html.gh-cli-body.json .PHONY: tests/golang tests/golang-generated-routes tests/golang-apigen -tests/golang: $(golang_tests_cover_dir)/generated-routes-profile.out $(golang_tests_cover_dir)/apigen-profile.out +tests/golang: tests/golang-generated-routes tests/golang-apigen tests/golang-generated-routes: $(golang_tests_cover_dir)/generated-routes-profile.out tests/golang-apigen: $(golang_tests_cover_dir)/apigen-profile.out