Skip to content

Merge pull request #68 from py-pkgs/patch-rtd-config #146

Merge pull request #68 from py-pkgs/patch-rtd-config

Merge pull request #68 from py-pkgs/patch-rtd-config #146

Workflow file for this run

name: test
on:
# Trigger the workflow on push or pull request on main branch
push:
branches:
- main
pull_request:
branches:
- main
schedule:
# Run cron job every month, https://crontab.guru/every-month
- cron: "0 0 1 * *"
jobs:
# This job tests that the CC works
test-cc:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.9", "3.10"]
steps:
- uses: actions/checkout@v2
# Setup
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencie
run: |
pip install -r requirements.txt
# Run tests
- name: Pytest tests
run: |
pytest tests/