feat: adding Ankh WebSocket client implementation #12
Workflow file for this run
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 | |
env: | |
ANKH_TEST_WAIT_FOR: 500ms | |
ANKH_TEST_WAIT_FOR_CAPTURE: 100ms | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '.github/workflows/**' | |
- '!.github/workflows/test_and_coverage.yml' | |
- 'mk/**' | |
- '.gitignore' | |
- '.golangci.yml' | |
- '.header' | |
- 'LICENSE' | |
- 'Makefile' | |
- 'README.md' | |
pull_request: | |
paths-ignore: | |
- '.github/workflows/**' | |
- '!.github/workflows/test_and_coverage.yml' | |
- 'mk/**' | |
- '.gitignore' | |
- '.golangci.yml' | |
- '.header' | |
- 'LICENSE' | |
- 'Makefile' | |
- 'README.md' | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
test: | |
name: Test and Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: stable | |
- name: Test with Coverage | |
run: go test -race -coverprofile=coverage.out -covermode=atomic ./... | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
files: ./coverage.out | |
name: ankh | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: mikefero/ankh |