Skip to content

Commit

Permalink
Merge pull request mthom#2207 from infogulch/ci-build-before-test
Browse files Browse the repository at this point in the history
CI: Make test step output easier to read
  • Loading branch information
mthom authored Dec 6, 2023
2 parents 2e75067 + 7208916 commit 1e1426c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ jobs:

# Build and test.
- name: Build library
run: cargo rustc --lib --target ${{ matrix.target }} ${{ matrix.args }} --verbose
continue-on-error: ${{ contains(matrix.target,'wasm32') }} # allow wasm builds to fail tests for now
run: cargo build --all-targets --target ${{ matrix.target }} ${{ matrix.args }} --verbose
- name: Test
continue-on-error: ${{ contains(matrix.target,'wasm32') }} # allow wasm builds to fail tests for now
run: cargo test --target ${{ matrix.target }} ${{ matrix.args }} --all --verbose
run: cargo test --target ${{ matrix.target }} ${{ matrix.args }} --all

# On stable rust builds, build a binary and publish as a github actions
# artifact. These binaries could be useful for testing the pipeline but
Expand Down

0 comments on commit 1e1426c

Please sign in to comment.