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
|
||||
|
||||
build:
|
||||
name: Build
|
||||
name: Build (and test, for now)
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -54,3 +54,11 @@ jobs:
|
|||
run: |
|
||||
source venv/bin/activate
|
||||
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