run both test in 1
This commit is contained in:
parent
a5e2617853
commit
94b1eaceee
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -299,17 +299,19 @@ jobs:
|
|||||||
|
|
||||||
- run: mkdir testlog
|
- run: mkdir testlog
|
||||||
|
|
||||||
- name: one test
|
- name: two tests
|
||||||
run: |
|
run: |
|
||||||
go test \
|
set -euo pipefail
|
||||||
-run '^TestPathUnitSuite/Test_Stuff$' ./pkg/path \
|
|
||||||
2>&1 | tee ./testlog/gotest-unit.log
|
|
||||||
|
|
||||||
- name: one more test
|
# Run the first test
|
||||||
run: |
|
|
||||||
go test \
|
go test \
|
||||||
-run '^TestRepositoryModelIntgSuite/Test_SomeMore$' ./pkg/repository \
|
-run '^TestPathUnitSuite/Test_Stuff$' ./pkg/path \
|
||||||
2>&1 | tee ./testlog/gotest-unit.log
|
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
|
# run the tests
|
||||||
# - name: Unit Tests
|
# - name: Unit Tests
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user