Update README.md #653
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: Unit tests (python versions) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.9', '3.10', '3.11'] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: install sundials | |
run: | | |
sudo apt-get update | |
sudo apt-get install libsundials-dev | |
- name: install chi | |
run: | | |
python --version | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install . | |
- name: run unit tests | |
run: | | |
python run-tests.py --unit |