From 2fe0a150f94d4ea5735128367241d31425678f34 Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Tue, 24 May 2022 14:12:43 +0200 Subject: [PATCH] CI: Add Python 3.11, update checkout to v3, weekly run - Add Python 3.11 (which is currently in beta) to the build matrix of the CI test job - A weekly scheduled run is also added to catch changes in dependencies and environments (each Monday at 06:00 UTC), and workflow_dispatch is added to be able to manually trigger the CI workflow - The checkout actions is updated to v3 --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ce84596..cca9c88c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,9 @@ on: paths: - ".github/workflows/test.yml" - "**.py" + workflow_dispatch: + schedule: + - cron: '0 6 * * 1' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} @@ -23,10 +26,10 @@ jobs: matrix: os: [Ubuntu, Windows, macOS] python_version: - ["3.7", "3.8", "3.9", "3.10", "pypy-3.7", "pypy-3.8", "pypy-3.9"] + ["3.7", "3.8", "3.9", "3.10", "3.11-dev", "pypy-3.7", "pypy-3.8", "pypy-3.9"] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - uses: actions/setup-python@v3 name: Install Python ${{ matrix.python_version }}