make unwatching when we hit "too many open files" deterministic #241
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: 'tests' | |
| on: | |
| push: | |
| branches: ['main'] | |
| pull_request: | |
| branches: ['main'] | |
| jobs: | |
| run_wgo_tests: | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - name: 'Clone repo' | |
| uses: 'actions/checkout@v4' | |
| - name: 'Install go' | |
| uses: 'actions/setup-go@v6' | |
| - run: 'go install github.com/mattn/goveralls@latest' | |
| - run: 'go test . -coverprofile=coverage -race' | |
| - run: 'goveralls -coverprofile=coverage -service=github || true' | |
| env: | |
| COVERALLS_TOKEN: '${{ secrets.GITHUB_TOKEN }}' |