PBM-1474 - Swap AWS s3 v1 with v2 #54
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: 'codecov' | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
go-test: | |
name: runner / go-test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.22" | |
- name: test | |
run: go test -v ./... -covermode=atomic -coverprofile=cover.out | |
- name: upload coverage report | |
uses: codecov/codecov-action@v4 | |
with: | |
file: cover.out | |
flags: unittests | |
fail_ci_if_error: false | |
token: ${{ secrets.CODECOV_TOKEN }} |