Skip to content

Change-point tests #1305

Change-point tests

Change-point tests #1305

name: Unit tests (OS versions)
on:
push:
branches:
- master
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: OS unit tests
runs-on: ${{ matrix.os }}
# Skip job if it's a draft PR
if: github.event.pull_request.draft == false
strategy:
matrix:
os: [ubuntu-18.04, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
architecture: x64
- name: install pints
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