Skip to content

Periodic test

Periodic test #45

Workflow file for this run

# Smoke test to see if unpinned installations are working
name: Periodic test
on:
schedule:
- cron: "15 14 16 * *" # monthly but random-ish time
workflow_dispatch:
jobs:
Test:
name: Test ${{ matrix.os }} (${{ matrix.python }} ${{ matrix.source }})
timeout-minutes: 10
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- windows-latest
- ubuntu-latest
- macos-latest
python:
- '3.12'
- 'pypy-3.10'
source:
- 'trio-parallel'
- 'git+https://github.com/python-trio/trio.git trio-parallel'
- '-e .'
steps:
- name: Checkout
if: matrix.source == '-e .'
uses: actions/[email protected]
- name: Setup python
uses: actions/[email protected]
with:
python-version: ${{ matrix.python }}
- name: Run tests
run: |
python -m pip install ${{ matrix.source }}[test]
cd .. # Disguise normal pytest config file
python -m pytest --pyargs trio_parallel