Test data races.

This commit is contained in:
Nuno Cruces
2023-02-15 16:24:34 +00:00
parent 78fd0cbee5
commit f85426022d
4 changed files with 35 additions and 9 deletions

View File

@@ -28,7 +28,13 @@ jobs:
- name: Test
run: go test -v ./...
- if: matrix.os == 'ubuntu-latest'
name: Update coverage report
- name: Test data races
run: go test -v -race ./...
if: matrix.os == 'ubuntu-latest'
- name: Update coverage report
uses: ncruces/go-coverage-report@main
if: |
matrix.os == 'ubuntu-latest' &&
github.event_name == 'push'
continue-on-error: true