Skip to content

Workflow file for this run

name: Run python tests

Check failure on line 1 in .github/workflows/run-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/run-tests.yml

Invalid workflow file

`schedule` accepts a list of one or more maps with the `cron` key set
on:
workflow_dispatch:
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 .[tests]
- name: Run the tests
run: |
python -m unittest