Skip to content

Update test matrix and add scheduled tests #522

Update test matrix and add scheduled tests

Update test matrix and add scheduled tests #522

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: 0 0 * * 0
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.8, 3.9, 3.10, 3.11, 3.12]
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/requirements-tests.txt
pip install -r requirements/requirements-core.txt
pip install .
- name: Run tests
run: |
pytest --cov-report term --cov=s2fft --cov-config=.coveragerc
codecov --token 298dc7ee-bb9f-4221-b31f-3576cc6cb702