-
Notifications
You must be signed in to change notification settings - Fork 31
62 lines (56 loc) · 1.64 KB
/
test_sbml_semantic_test_suite.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: SBML
on:
push:
branches:
- develop
- master
- release**
pull_request:
paths:
- .github/workflows/test_sbml_semantic_test_suite.yml
- python/sdist/amici/de_export.py
- python/sdist/amici/de_model.py
- python/sdist/amici/sbml_import.py
- python/sdist/amici/import_utils.py
- scripts/run-SBMLTestsuite.sh
- tests/testSBMLSuite.py
- tests/conftest.py
check_suite:
types: [requested]
workflow_dispatch:
jobs:
build:
name: SBML Semantic Test Suite
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
cases: ["1-250", "251-500", "501-750", "751-1000",
"1000-1250", "1251-"]
python-version: [ "3.9" ]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: apt
run: |
sudo apt-get update \
&& sudo apt-get install -y swig4.0 libatlas-base-dev
- run: AMICI_PARALLEL_COMPILE=2 ./scripts/installAmiciSource.sh
- run: AMICI_PARALLEL_COMPILE=2 ./scripts/run-SBMLTestsuite.sh ${{ matrix.cases }}
- name: "Upload artifact: SBML semantic test suite results"
uses: actions/upload-artifact@v3
with:
name: amici-semantic-results
path: tests/amici-semantic-results
- name: Codecov SBMLSuite
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage_SBMLSuite.xml
flags: sbmlsuite
fail_ci_if_error: true