test: add TLS profile unit and e2e tests (#2653) #9847
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: unit-test | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| merge_group: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| unit-test-basic: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: Run basic unit tests | |
| run: | | |
| make test-unit | |
| - uses: codecov/codecov-action@v6.0.0 | |
| with: | |
| disable_search: true | |
| files: coverage/unit.out | |
| flags: unit | |
| token: ${{ secrets.CODECOV_TOKEN }} |