Reusing test factories, added serde tests, grouped tests together with tested code #235
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
test: | |
name: test ${{matrix.toolchain}} on ${{matrix.os}} with ${{matrix.args}} | |
runs-on: ${{matrix.os}}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: [stable, nightly] | |
os: [ubuntu] | |
args: ["default", "prove"] | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{matrix.toolchain}} | |
override: true | |
- uses: davidB/rust-cargo-make@v1 | |
- uses: taiki-e/install-action@nextest | |
- name: cargo make - test | |
run: cargo make ci-test-${{matrix.args}} |