Skip to content

Run python tests

Run python tests #15

Workflow file for this run

name: Run python tests
on:
workflow_dispatch:
pull_request:
schedule:
- cron: '0 0 1 * *'
push:
branches:
- master
- migrating-tests-and-pyproject
jobs:
test:
name: Test (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package and dependencies
run: |
pip install --upgrade pip
pip install .
- name: Run the tests
run: |
python -m unittest