Tests #70
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: Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
merge_group: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run tests (including doctests) | |
run: cargo test -F full | |
- name: Check a few configurations | |
run: | | |
pushd merde_json_types | |
cargo check -F time-types | |
cargo check -F time-serialize | |
cargo check -F time-deserialize | |
cargo check -F merde_json,time-types | |
cargo check -F merde_json,time-serialize | |
cargo check -F merde_json,time-deserialize | |
popd | |
- name: Run examples | |
run: | | |
pushd merde_json | |
cargo run --example simple | |
cargo run --example mixed | |
cargo run --example to_static | |
popd |