@ -39,6 +39,16 @@ concurrency:
cancel-in-progress : true
cancel-in-progress : true
jobs:
jobs:
race-root-integration:
runs-on : ubuntu-22.04
steps:
- name : checkout
uses : actions/checkout@v4
- name : build test wrapper
run : ./tool/go build -o /tmp/testwrapper ./cmd/testwrapper
- name : integration tests as root
run : PATH=$PWD/tool:$PATH /tmp/testwrapper --sudo ./tstest/integration/ -race
test:
test:
strategy:
strategy:
fail-fast : false # don't abort the entire matrix if one element fails
fail-fast : false # don't abort the entire matrix if one element fails
@ -90,8 +100,6 @@ jobs:
sudo apt-get -y install qemu-user
sudo apt-get -y install qemu-user
- name : build test wrapper
- name : build test wrapper
run : ./tool/go build -o /tmp/testwrapper ./cmd/testwrapper
run : ./tool/go build -o /tmp/testwrapper ./cmd/testwrapper
- name : integration tests as root
run : PATH=$PWD/tool:$PATH /tmp/testwrapper --sudo ./tstest/integration/ ${{matrix.buildflags}}
- name : test all
- name : test all
run : PATH=$PWD/tool:$PATH /tmp/testwrapper ./... ${{matrix.buildflags}}
run : PATH=$PWD/tool:$PATH /tmp/testwrapper ./... ${{matrix.buildflags}}
env:
env: