Skip to content

Update rust.yml

Update rust.yml #8

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
DO_NOT_TRACK: 1
PIP_DISABLE_PIP_VERSION_CHECK: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests (Rust)
run: cargo test --verbose
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Set up Maturin
run: maturin develop
- name: Run tests (Python)
run: python3 -m unittest discover python