adjust test action. 1

This commit is contained in:
Niko Abeler 2022-11-28 19:41:57 +01:00
parent 55136f3514
commit 5f748b869a
1 changed files with 13 additions and 3 deletions

View File

@ -16,9 +16,19 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - 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 - name: Build
run: cargo build --verbose run: maturin build --verbose
- name: Run tests - name: Run tests
run: cargo test --verbose run: maturin test --verbose
- name: Run E2E tests - name: Run E2E tests
run: pytest run: |
maturin develop --release
pytest