Non-serde DMA support on little endian #63
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: Run tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: read | |
# Write permissions are required in order to produce annotations. | |
checks: write | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
rust: | |
- "1.66.0" | |
- "1.76.0" | |
steps: | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.rust }} | |
components: rustfmt, clippy | |
- name: Checkout Git repository | |
uses: actions/checkout@v3 | |
- name: Cache dependencies | |
uses: Swatinem/rust-cache@v2 | |
- name: Check Rust formatting | |
run: cargo fmt -- --check | |
- name: lint with clippy | |
uses: 10XGenomics/clippy-check@main | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: | | |
--all-targets --all-features -- | |
-D clippy::perf | |
-D clippy::wildcard_imports | |
-D clippy::redundant_closure_for_method_calls | |
-D clippy::enum_glob_use | |
-A clippy::float_cmp | |
-F clippy::unused_io_amount | |
-W future_incompatible | |
-D nonstandard_style | |
-D rust_2018_compatibility | |
-D rust_2021_compatibility | |
-D unused | |
- name: Run Rust tests | |
run: cargo test --release | |
- name: Run Rust tests without parallelism | |
run: cargo test --release --no-default-features |