Periodic test #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |