Skip to content

Run tests

Run tests #246

Workflow file for this run

name: Run tests
on:
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
run-test:
strategy:
max-parallel: 4
matrix:
python-version: ["3.9", "3.10"]
os: [ ubuntu-latest ]
fail-fast: false
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Checks with pre-commit
uses: pre-commit/[email protected]
- name: Test with pytest
run: |
python -m pip install --upgrade pip
python -m pip install .
python -m pip install -r ./tests/requirements.txt
python -m pytest