[DDO-3654]: Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 in … #644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Sherlock | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
# Don't run this workflow concurrently on the same branch | |
group: ${{ github.workflow }}-${{ github.ref }} | |
# For PRs, don't wait for completion of existing runs, cancel them instead | |
cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: "sherlock/go.mod" | |
- name: Install pact-go | |
run: make install-pact | |
- name: Run tests | |
run: make test-with-coverage | |
- name: Upload coverage | |
uses: codecov/codecov-action@v5 | |
with: | |
files: go-shared/cover.out,sherlock/cover.out | |
token: ${{ secrets.CODECOV_TOKEN }} |