chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#… #574
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 | |
concurrency: | |
# for PR's cancel the running task, if another commit is pushed | |
group: ${{ github.workflow }} ${{ github.ref }} | |
cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- ready_for_review | |
- synchronize | |
jobs: | |
go-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.20' | |
- name: Set up ginkgo | |
run: go install github.com/onsi/ginkgo/v2/ginkgo | |
- name: Run Tests | |
run: make test | |
- name: Run tests with Coverage | |
run: make coverage | |
- name: Upload Code Coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
name: codecov | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: false |