Skip to content

Commit 05d9474

Browse files
committed
TST: add weekly compatibility checks for CPython 3.15
1 parent 5d73948 commit 05d9474

File tree

3 files changed

+55
-1
lines changed

3 files changed

+55
-1
lines changed

.github/workflows/weekly.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: weekly checks
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches: ["main"]
6+
tags-ignore: ["**"]
7+
schedule:
8+
- cron: "0 8 * * 1"
9+
10+
env:
11+
FORCE_COLOR: 1
12+
13+
concurrency:
14+
group: check-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
test:
19+
name: test ${{ matrix.py }} on ${{ matrix.os }}
20+
runs-on: ${{ matrix.os }}
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
py:
25+
- "3.15"
26+
os:
27+
- ubuntu-24.04
28+
- windows-2025
29+
- macos-15
30+
steps:
31+
- uses: actions/checkout@v5
32+
with:
33+
fetch-depth: 0
34+
- name: Install the latest version of uv
35+
uses: astral-sh/setup-uv@v7
36+
with:
37+
enable-cache: true
38+
cache-dependency-glob: "pyproject.toml"
39+
github-token: ${{ secrets.GITHUB_TOKEN }}
40+
- name: Add .local/bin to Windows PATH
41+
if: runner.os == 'Windows'
42+
shell: bash
43+
run: echo "$USERPROFILE/.local/bin" >> $GITHUB_PATH
44+
- name: Install tox@self
45+
run: uv tool install --python-preference only-managed --python ${{ matrix.py }} tox@.
46+
- name: Setup test suite
47+
run: tox run -vv --notest --skip-missing-interpreters false -e ${{ matrix.py }}
48+
- name: Run test suite
49+
run: tox run --skip-pkg-install -e ${{ matrix.py }}
50+
env:
51+
PYTEST_ADDOPTS: "-vv --durations=20"
52+
DIFF_AGAINST: HEAD
53+
PYTEST_XDIST_AUTO_NUM_WORKERS: 0

docs/changelog/3629.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added weekly compatibility checks for Python 3.15 (alpha).

tox.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
requires = [ "tox>=4.27" ]
2-
env_list = [ "fix", "3.14t", "3.14", "3.13", "3.12", "3.11", "3.10", "cov", "type", "docs", "pkg_meta" ]
2+
env_list = [ "fix", "3.15t", "3.15", "3.14t", "3.14", "3.13", "3.12", "3.11", "3.10", "cov", "type", "docs", "pkg_meta" ]
33
skip_missing_interpreters = true
44

55
[env_run_base]

0 commit comments

Comments
 (0)