-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (38 loc) · 1.07 KB
/
periodic.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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