Skip to content

Updates to READMEs (#78) #228

Updates to READMEs (#78)

Updates to READMEs (#78) #228

Workflow file for this run

name: Build and test Rust crate
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
features: ["", "ndarray", "approx", "ndarray approx", "python", "python_numpy", "num-dual"]
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --release --features "${{ matrix.features }}"
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --release --features approx
test_ndarray:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests (ndarray)
run: cargo test --release --features "ndarray approx"