Skip to content

Commit

Permalink
fix(ci): run test
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Jul 14, 2023
1 parent bae680a commit e4a5a0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/actions/automatic-updates/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ runs:
git add camel-k-sbom/camel-k-sbom.json && git commit -m 'chore: nightly SBOM update' && echo "sbom=1" >> $GITHUB_ENV || echo "No changes to SBOM"
# Coverage badge
- name: Run Test
run: |
go test -v ./... -covermode=count -coverprofile=coverage.out
go tool cover -func=coverage.out -o=coverage.out
touch badge.out
- name: Go Coverage Badge
uses: ./.github/actions/coverage-badge
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-automatic-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
ref: ${{ matrix.ref-branch }}
persist-credentials: false
submodules: recursive
- name: Automatic updates on main
- name: "Run upgrade action"
uses: ./.github/actions/automatic-updates
with:
branch-ref: ${{ matrix.ref-branch }}
Expand Down

0 comments on commit e4a5a0e

Please sign in to comment.