Skip to content

Implement GCD function #98

Implement GCD function

Implement GCD function #98

Workflow file for this run

name: Run tests
on:
push:
paths:
- "src/**"
- "tests/**"
- "examples/**"
- "Cargo.toml"
- "Cargo.lock"
- "build.rs"
- ".github/workflows/test.yml"
pull_request:
branches:
- master
- "release/*"
env:
RUST_BACKTRACE: short
RUSTFLAGS: '-D warnings'
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Check out sources
uses: actions/checkout@v3
- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache build artifacts
uses: Swatinem/rust-cache@v2
- name: Lint code
run: cargo clippy --all-targets
- name: Compile tests
run: cargo test --workspace --no-fail-fast --no-run --locked
- name: Run tests
run: cargo test --workspace --no-fail-fast