Skip to content

Commit 3eecdff

Browse files
authored
Test on different sets of python versions on each os (#117)
* Test on different sets of python versions on each os * Run same CI on weekly schedule * Adjust package metadata to update python versions
1 parent d6c3ef9 commit 3eecdff

File tree

3 files changed

+20
-37
lines changed

3 files changed

+20
-37
lines changed

.github/workflows/main.yml

+16-4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
pull_request:
66
push:
77
branches: [ staging, master ]
8+
schedule:
9+
# Weekly on Sunday
10+
- cron: '0 0 * * 0'
811

912
jobs:
1013
pre-commit:
@@ -18,13 +21,22 @@ jobs:
1821
extra_args: --hook-stage manual --all-files
1922

2023
checks:
21-
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
22-
runs-on: ${{ matrix.runs-on }}
24+
name: Check Python ${{ matrix.python-version }} on ${{ matrix.os }}
25+
runs-on: ${{ matrix.os }}
2326
strategy:
2427
fail-fast: false
2528
matrix:
26-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
27-
runs-on: [ubuntu-22.04, macos-13, windows-2022]
29+
os: ["ubuntu-24.04", "macos-14", "windows-2022"]
30+
python-version: ["3.10", "3.11", "3.12"]
31+
include:
32+
- os: ubuntu-22.04
33+
python-version: 3.7
34+
- os: ubuntu-24.04
35+
python-version: 3.8
36+
- os: ubuntu-24.04
37+
python-version: 3.9
38+
- os: ubuntu-24.04
39+
python-version: 3.13
2840
steps:
2941
- uses: actions/checkout@v4
3042
- uses: actions/setup-python@v5

.github/workflows/test-latest.yml

-30
This file was deleted.

pyproject.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,22 @@ maintainers = [
1717
license = { file = "LICENSE" }
1818
description = "A Python client for interacting with a VirES server"
1919
readme = "README.rst"
20-
requires-python = ">=3.6"
20+
requires-python = ">=3.7"
2121
classifiers = [
2222
"License :: OSI Approved :: MIT License",
2323
"Topic :: Scientific/Engineering",
2424
"Intended Audience :: Science/Research",
2525
"Intended Audience :: Developers",
2626
"Operating System :: OS Independent",
27-
"License :: OSI Approved :: MIT License",
2827
"Programming Language :: Python",
2928
"Programming Language :: Python :: 3",
30-
"Programming Language :: Python :: 3.6",
3129
"Programming Language :: Python :: 3.7",
3230
"Programming Language :: Python :: 3.8",
3331
"Programming Language :: Python :: 3.9",
3432
"Programming Language :: Python :: 3.10",
33+
"Programming Language :: Python :: 3.11",
34+
"Programming Language :: Python :: 3.12",
35+
"Programming Language :: Python :: 3.13",
3536
"Development Status :: 5 - Production/Stable",
3637
]
3738
dynamic = ["version"]

0 commit comments

Comments
 (0)