Skip to content

Cargo Tests

Cargo Tests #424

Workflow file for this run

name: "Cargo Tests"
on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened
schedule:
- cron: 0 0 * * *
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cargo Test With Release Build
run: cargo test --release
- name: Cargo Test Offline
run: cargo test --no-default-features --features ort-download-binaries
- name: Cargo Clippy
run: cargo clippy
- name: Cargo FMT
run: cargo fmt --all -- --check