Adjust all CI service files to run tests using the race flag
MODIFY
.builds/freebsd.yml
.builds/freebsd.yml
@@ -7,4 +7,4 @@ tasks:
go get -v github.com/Bios-Marcel/cordless
cd src/github.com/Bios-Marcel/cordless
go vet ./...
- go test ./...
\ No newline at end of file
+ go test -race ./...
\ No newline at end of file

MODIFY
.github/workflows/build.yml
.github/workflows/build.yml
@@ -19,7 +19,7 @@ jobs:
- name: Run tests
env:
GO111MODULE: on
- run: go test ./...
+ run: go test -race ./...
- name: Run build
env:

MODIFY
.travis.yml
.travis.yml
@@ -2,3 +2,4 @@ os: osx
language: go
go:
- "1.12"
+script: go test -race ./...
\ No newline at end of file

MODIFY
appveyor.yml
appveyor.yml
@@ -15,4 +15,4 @@ build_script:
test_script:
- go vet ./...
- - go test ./...
\ No newline at end of file
+ - go test -race ./...
\ No newline at end of file

Adjust all CI service files to run tests using the race flag