This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit e4a5a0eaf6986cf9b69c7c9c761e72b6337707d0 Author: Pasquale Congiusti <pasquale.congiu...@gmail.com> AuthorDate: Fri Jul 14 14:29:40 2023 +0200 fix(ci): run test --- .github/actions/automatic-updates/action.yml | 5 +++++ .github/workflows/nightly-automatic-updates.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/automatic-updates/action.yml b/.github/actions/automatic-updates/action.yml index ceb585581..57a30c754 100644 --- a/.github/actions/automatic-updates/action.yml +++ b/.github/actions/automatic-updates/action.yml @@ -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: diff --git a/.github/workflows/nightly-automatic-updates.yml b/.github/workflows/nightly-automatic-updates.yml index fcbca7ada..7e44fb83a 100644 --- a/.github/workflows/nightly-automatic-updates.yml +++ b/.github/workflows/nightly-automatic-updates.yml @@ -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 }}