Skip to content

Commit

Permalink
Refactor CI for fork PR (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoanm authored Mar 27, 2024
1 parent 8247695 commit 3f86d7f
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,20 @@ jobs:
- name: Run tests
run: make test-go gotest_o="-race -covermode=atomic -coverprofile=coverage.out"

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
- name: Create coverage group
id: tests-coverage-group
uses: yoanm/temp-reports-group-workspace/.github/actions/create-action@develop
with:
format: clover
files: coverage.out
path: build/coverage-groups

- name: Upload coverage to Codacy
uses: codacy/codacy-coverage-reporter-action@v1
- name: Upload coverage reports
uses: actions/upload-artifact@v4
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage.out
force-coverage-parser: go
name: coverage-group
path: build/coverage-groups
if-no-files-found: error

static:
name: Static checks
Expand Down

0 comments on commit 3f86d7f

Please sign in to comment.