Skip to content

Commit

Permalink
tests to output
Browse files Browse the repository at this point in the history
  • Loading branch information
opengs committed Feb 16, 2024
1 parent 4ea448f commit ad0f836
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
- name: Install test reporting tool
run: go install github.com/jstemmer/go-junit-report/v2@latest
- name: Run smoke tests
run: env $(cat ./modules/.test.env) go test -v 2>&1 ./modules/native/testing/smoke/... | go-junit-report -set-exit-code > TestResults-smoke.xml
run: env $(cat ./modules/.test.env) go test -v 2>&1 ./modules/native/testing/smoke/... | tee smoke.txt && cat smoke.txt | go-junit-report -set-exit-code > TestResults-smoke.xml
- name: Run unit (whitebox) tests
run: env $(cat ./modules/.test.env) go test -v 2>&1 ./modules/native/testing/unit/... | go-junit-report -set-exit-code > TestResults-unit.xml
run: env $(cat ./modules/.test.env) go test -v 2>&1 ./modules/native/testing/unit/... | tee unit.txt && cat unit.txt | go-junit-report -set-exit-code > TestResults-unit.xml
- name: Run integration tests
run: env $(cat ./modules/.test.env) go test -v 2>&1 ./modules/native/testing/integration/... ./modules/system/testing/integration/... | go-junit-report -set-exit-code > TestResults-integration.xml
run: env $(cat ./modules/.test.env) go test -v 2>&1 ./modules/native/testing/integration/... ./modules/system/testing/integration/... | tee integration.txt && cat integration.txt | go-junit-report -set-exit-code > TestResults-integration.xml
- name: Upload test summary
uses: test-summary/action@v2
with:
Expand Down

0 comments on commit ad0f836

Please sign in to comment.