Skip to content

Add github workflow for tests #1

Add github workflow for tests

Add github workflow for tests #1

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
sympy-version: ['1.12', '1.11', '1.10', '1.9', '1.8', '1.7', '1.6']
steps:
- uses: actions/checkout@v2
- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
miniconda-version: "latest"
mamba-version: "*"
channels: conda-forge
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: bash -l {0}
run: mamba install sympy=${{ matrix.sympy-version }} pytest
- name: Test with pytest
shell: bash -l {0}
run: pytest -v --color=yes test