Skip to content

better CI/CD, remove amc config file to be recursively included #5

better CI/CD, remove amc config file to be recursively included

better CI/CD, remove amc config file to be recursively included #5

Workflow file for this run

# .github/workflows/test.yml
name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Cargo check
run: cargo check --all-features
- name: Run unit tests
run: cargo test --all-features
# - name: Run integration tests
# run: cargo test --test '*' --all-features --workspace