Skip to content

Update README.md

Update README.md #651

name: Unit tests (OS versions)
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: 3.11
architecture: x64
- name: install sundials (ubuntu)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo apt-get update
sudo apt-get install libsundials-dev
- name: install sundials (macos)
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew update-reset
brew install sundials
- 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