Skip to content

Commit

Permalink
ci: attempt to capture test results and upload them
Browse files Browse the repository at this point in the history
  • Loading branch information
timvw committed Mar 28, 2024
1 parent d404bfb commit d55c23e
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,27 @@ jobs:
with:
submodules: recursive
- uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Start minio
run: ./ci/minio_start.sh
- run: cargo test --all-features

- run: cargo test --all-features -- -Z unstable-options --format json --report-time | tee results.json

- name: Prepare junit report
id: cargo_reporter
uses: innoq/action-cargo-test-report
with:
cargo-test-report-json: 'results.json'

- name: Publish Test Report
uses: mikepenz/action-junit-report@main
if: always() # always run even if the previous step fails
with:
check_name: Test Report
fail_on_failure: true
require_tests: true
summary: ${{ steps.cargo_reporter.outputs.summary }}

- name: Stop minio
run: ./ci/minio_stop.sh

Expand Down

0 comments on commit d55c23e

Please sign in to comment.