[TA-3671] (POC): upgrade integration testsuite with test upgrade #10
This file contains hidden or 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: Coverage | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ '**' ] | |
| jobs: | |
| build: | |
| name: Unit test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-go@v3 | |
| - name: Generate unit test coverage | |
| run: make coverage-unit | |
| - name: Check unit test coverage | |
| uses: vladopajic/go-test-coverage@v2 | |
| with: | |
| # Configure action using config file (option 1) | |
| config: ./.testcoverage.yml |