mirror of
https://github.com/octoleo/restic.git
synced 2024-12-23 03:18:55 +00:00
CI: run golang race checker
This commit is contained in:
parent
13fbc96ed3
commit
0e5fe4c6ab
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
@ -37,6 +37,13 @@ jobs:
|
|||||||
check_changelog: true
|
check_changelog: true
|
||||||
install_verb: install
|
install_verb: install
|
||||||
|
|
||||||
|
- job_name: Linux (race)
|
||||||
|
go: 1.19.x
|
||||||
|
os: ubuntu-latest
|
||||||
|
test_fuse: true
|
||||||
|
test_opts: "-race"
|
||||||
|
install_verb: install
|
||||||
|
|
||||||
- job_name: Linux
|
- job_name: Linux
|
||||||
go: 1.18.x
|
go: 1.18.x
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
@ -152,7 +159,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
RESTIC_TEST_FUSE: ${{ matrix.test_fuse }}
|
RESTIC_TEST_FUSE: ${{ matrix.test_fuse }}
|
||||||
run: |
|
run: |
|
||||||
go test -cover ./...
|
go test -cover ${{matrix.test_opts}} ./...
|
||||||
|
|
||||||
- name: Test cloud backends
|
- name: Test cloud backends
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user