run both test in 1

This commit is contained in:
HiteshRepo 2024-01-28 14:12:24 +05:30
parent a5e2617853
commit 94b1eaceee

View File

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