Skip to content

Commit d5035fa

Browse files
TST: add weekly compatibility checks for CPython 3.15 (#3629)
1 parent 5220e07 commit d5035fa

File tree

3 files changed

+58
-1
lines changed

3 files changed

+58
-1
lines changed

.github/workflows/weekly.yaml

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