Skip to content

Weekly unit test

Weekly unit test #5

Workflow file for this run

name: Weekly unit test
on:
schedule:
- cron: '30 23 * * SUN'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# show python version being tested
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[test]"
- name: Run pytest
run: pytest