Skip to content

Merge pull request #15 from mxkramer/main #64

Merge pull request #15 from mxkramer/main

Merge pull request #15 from mxkramer/main #64

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
DEP_PATH: /requirements.txt
jobs:
security_check:
name: Security Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install minimal stable RUST with clippy and rustfmt
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
- name: Install dependencies and run pytest
run: |
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -y
maturin develop -r
pytest python/tests/.