-
-
Notifications
You must be signed in to change notification settings - Fork 10
46 lines (44 loc) · 1.05 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Python package
on:
pull_request:
push:
branches:
- master
jobs:
run-tests:
runs-on: ${{ matrix.os }}
name: sunode - ${{ matrix.os }} - ${{ matrix.python-version }}
strategy:
max-parallel: 6
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install miniconda
uses: mamba-org/setup-micromamba@v1
with:
environment-name: sunode-dev
create-args: >-
python=${{ matrix.python-version }}
pytest
pytest-cov
hypothesis
statsmodels
pytensor
c-compiler
sundials<6.0
numba
sympy
typing_extensions
cffi
init-shell: >-
bash
powershell
- name: Install sunode
run: |
pip install -e .
- name: Test with coverage
run: |
pytest --cov=sunode --cov-report xml --cov-report term-missing sunode