Skip to content

Merge pull request #40 from NREL/fix/pyo3-package-name #5

Merge pull request #40 from NREL/fix/pyo3-package-name

Merge pull request #40 from NREL/fix/pyo3-package-name #5

Workflow file for this run

name: rust-tests
on:
push:
branches: [ main ]
paths:

Check failure on line 6 in .github/workflows/rust-tests.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/rust-tests.yaml

Invalid workflow file

You have an error in your yaml syntax on line 6
- "rust/**"
- "!python/**"
pull_request:
paths:
- "rust/**"
- "!python/**"
workflow_dispatch:
workflow_call:
jobs:
test:
if: github.repository == 'nrel/altrios' || github.repository == 'nrel/altrios-private'
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: install rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Rust unit tests
run: |
cd rust/
cargo test --workspace
cd altrios-core/
cargo test