Mathml -> sympy conversion #1674
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, pull_request] | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ "3.9", "3.10" ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get install graphviz libgraphviz-dev | |
pip install --upgrade pip setuptools wheel | |
pip install "tox<4.0.0" | |
# Set up sbmlmath | |
pip install python-libsbml --no-dependencies | |
pip install pint --no-dependencies | |
pip install "lxml>=4.6.4" --no-dependencies | |
pip install git+https://github.com/dweindl/sbmlmath.git --no-dependencies | |
- name: Test with pytest | |
run: | | |
export MIRA_REST_URL=https://d1t1rcuq5sa4r0.cloudfront.net | |
tox -e py | |
- name: Upload coverage report to codecov | |
uses: codecov/codecov-action@v1 | |
if: success() | |
with: | |
file: coverage.xml |