Files
kopia/.github/workflows/race-detector.yml
Jarek Kowalski 4227de1a4b nit: fixed benign test data race (#1635)
* nit: fixed benign test data race

* run race detector tests in sequence
2021-12-30 18:20:28 -08:00

24 lines
551 B
YAML

name: Race Detector
on:
pull_request:
push:
branches: [ master ]
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go.
uses: actions/setup-go@v2
with:
go-version: ^1.17
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Unit Tests
run: make -j2 test UNIT_TEST_RACE_FLAGS=-race
- name: Integration Tests
run: make -j2 ci-integration-tests INTEGRATION_TEST_RACE_FLAGS=-race