Compare commits

...

2 Commits

Author SHA1 Message Date
Niko Abeler 5f748b869a adjust test action. 1 2022-11-28 19:41:57 +01:00
Niko Abeler 55136f3514
Create rust.yml 2022-11-28 19:38:17 +01:00
1 changed files with 34 additions and 0 deletions

34
.github/workflows/rust.yml vendored Normal file
View File

@ -0,0 +1,34 @@
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build
run: maturin build --verbose
- name: Run tests
run: maturin test --verbose
- name: Run E2E tests
run: |
maturin develop --release
pytest