Skip to content

ci(mrml-python): create github actions config for release #13

ci(mrml-python): create github actions config for release

ci(mrml-python): create github actions config for release #13

on: [push]
defaults:
run:
working-directory: packages/mrml-python
env:
RUSTFLAGS: "-Dwarnings"
jobs:
testing:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}-mrml-python
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: install cargo toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- name: install maturin
run: cargo install maturin --locked
- name: init python venv
run: |
python3 -m pip install --upgrade pip
python3 -m venv env
source env/bin/activate
python3 -m pip install pytest
maturin develop
python3 -m pytest