Skip to content

Commit

Permalink
CI: Update actions, test Python 3.12, run weekly
Browse files Browse the repository at this point in the history
A bit of maintenance on the CI:
- Update the used actions to their latest versions
- Test Python 3.12
- Run once a week on the default branch (to make sure dependency updates don't break anything)
  • Loading branch information
EwoutH authored Mar 7, 2024
1 parent d60f18d commit bb3f97f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
name: Test

on:
- pull_request
pull_request:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'

jobs:
pytest:
name: Run Tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 30
strategy:
matrix:
Expand All @@ -20,11 +23,13 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down

0 comments on commit bb3f97f

Please sign in to comment.