Add tests to build job
This commit is contained in:
parent
ff6cc64785
commit
0fe8bd7de0
1 changed files with 9 additions and 1 deletions
|
@ -31,7 +31,7 @@ jobs:
|
||||||
run: cargo clippy -- -D warnings
|
run: cargo clippy -- -D warnings
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build (and test, for now)
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -54,3 +54,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
maturin develop
|
maturin develop
|
||||||
|
- name: Run Python tests
|
||||||
|
run: |
|
||||||
|
source venv/bin/activate
|
||||||
|
pytest tests/*.py
|
||||||
|
- name: Run Rust tests
|
||||||
|
run: |
|
||||||
|
source venv/bin/activate
|
||||||
|
cargo test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue