diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f2c7fbd6..cd78d7f27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -299,17 +299,19 @@ jobs: - run: mkdir testlog - - name: one test + - name: two tests run: | - go test \ - -run '^TestPathUnitSuite/Test_Stuff$' ./pkg/path \ - 2>&1 | tee ./testlog/gotest-unit.log + set -euo pipefail - - name: one more test - run: | + # Run the first test go test \ - -run '^TestRepositoryModelIntgSuite/Test_SomeMore$' ./pkg/repository \ - 2>&1 | tee ./testlog/gotest-unit.log + -run '^TestPathUnitSuite/Test_Stuff$' ./pkg/path \ + 2>&1 | tee -a ./testlog/gotest-unit.log + + # Run the second test + go test \ + -run '^TestRepositoryModelIntgSuite/Test_SomeMore$' ./pkg/repository \ + 2>&1 | tee -a ./testlog/gotest-unit.log # run the tests # - name: Unit Tests