Skip to content

Commit

Permalink
CICD: Set platform specific scheduled test canaries
Browse files Browse the repository at this point in the history
  • Loading branch information
RUrlus committed Mar 1, 2024
1 parent 26cc5a5 commit 05b2924
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Linux

on:
workflow_dispatch:
schedule:
- cron: '0 23 * * 1'

jobs:
tests:
runs-on: ubuntu-latest
name: Linux CPython ${{ matrix.python-version }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Build and install
run: |
pip install pip --upgrade
pip install ".[test]" --verbose
- name: Test
run: |
cd tests
pytest -vv
32 changes: 32 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: MacOS

on:
workflow_dispatch:
schedule:
- cron: '0 23 * * 1'

jobs:
tests:
runs-on: macos-latest
name: MacOS CPython ${{ matrix.python-version }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Build and install
run: |
pip install pip --upgrade
pip install ".[test]" --verbose
- name: Test
run: |
cd tests
pytest -vv
32 changes: 32 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Windows

on:
workflow_dispatch:
schedule:
- cron: '0 23 * * 1'

jobs:
tests:
runs-on: windows-latest
name: Windows CPython ${{ matrix.python-version }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Build and install
run: |
pip install pip --upgrade
pip install ".[test]" --verbose
- name: Test
run: |
cd tests
pytest -vv

0 comments on commit 05b2924

Please sign in to comment.