Update unit test workflow

This commit is contained in:
katexochen 2022-05-31 18:33:27 +02:00 committed by Paul Meyer
parent 2fb2c8c341
commit 2c8ccf881a

View File

@ -23,6 +23,9 @@ jobs:
- name: Install Dependencies
run: sudo apt-get update && sudo apt-get install -y pkg-config libcryptsetup12 libcryptsetup-dev
- name: Test
# https://github.com/golang/go/issues/50745
run: go test -race -count=3 $(go list -f '{{.Dir}}/...' -m | xargs)
- name: Test main module
run: go test -race -count=3 ./...
- name: Test hack module
run: go test -race -count=3 ./...
working-directory: hack