-
Notifications
You must be signed in to change notification settings - Fork 32
44 lines (37 loc) · 1.27 KB
/
run-system-tests.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
name: Run GillesPy2 System Tests
on:
push:
branches: [main, develop]
jobs:
run-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- name: Initialize environment
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
# see: https://github.com/actions/virtual-environments/pull/5729
# GHA recently upgrading MinGW to v11.20, which seems to break things in that environment.
# Until this issue can be addressed, downgrade to the previous known working version, v8.1.0.
- name: Initialize MinGW dependencies
run: |
choco install make
choco uninstall mingw
choco install mingw --version 8.1.0 --force
if: matrix.os == 'windows-latest'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install python-libsbml
pip install cython
pip install coverage
pip install nbformat
pip install nbconvert
- name: Run tests
run: coverage run --source=gillespy2 --omit=gillespy2/solvers/stochkit/* test/run_system_tests.py -m develop