Skip to content

Commit

Permalink
ci(mrml-python): create config file
Browse files Browse the repository at this point in the history
Signed-off-by: Jérémie Drouet <[email protected]>
  • Loading branch information
jdrouet committed Dec 5, 2023
1 parent a78b08b commit 3dbdb63
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/mrml-python-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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: build python package
uses: PyO3/maturin-action@v1
with:
command: develop

- name: runing python test
run: pytest

0 comments on commit 3dbdb63

Please sign in to comment.