Removed units from time headers in controllers. #1284
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: Unit tests (python versions) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
# Run workflow when PR is changed, or when changed from draft to ready | |
types: [opened, synchronize, reopened, ready_for_review] | |
branches: | |
- '**' | |
jobs: | |
build-and-test: | |
name: Python unit tests | |
runs-on: ubuntu-latest | |
# Skip job if it's a draft PR | |
if: github.event.pull_request.draft == false | |
strategy: | |
matrix: | |
python-version: ['3.7', '3.8', '3.9', '3.10'] | |
# Note: Latest version is tested by coverage test and os tests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: install pints | |
run: | | |
python --version | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install . | |
- name: install stan | |
if: matrix.python-version != '3.6' | |
run : python -m pip install .[stan] | |
- name: run unit tests | |
run: | | |
python run-tests.py --unit |