Fix typo in README.md #51
This file contains hidden or 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: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
RUST_BACKTRACE: 1 | |
RUST_LOG: "cargo_tarpaulin=trace,llvm_profparser=trace" | |
jobs: | |
test: | |
name: "Test" | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
rust: | |
#- stable | |
#- beta | |
- nightly | |
steps: | |
- uses: "actions/checkout@v3" | |
name: "Checkout" | |
- uses: "actions-rs/toolchain@v1" | |
with: | |
profile: "minimal" | |
toolchain: "${{ matrix.rust }}" | |
override: true | |
name: "Install Rust ${{ matrix.rust }}" | |
- uses: "actions-rs/cargo@v1" | |
with: | |
command: "test" | |
name: "Run `cargo test`" | |
- uses: "taiki-e/install-action@v2" | |
with: | |
tool: "cargo-hack" | |
name: "Install cargo-hack" | |
- run: "cargo hack test --each-feature --optional-deps --all-targets" | |
name: "Check all features with 'cargo-hack'" | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |