Skip to content

Commit b37a0d8

Browse files
committed
CI: Improve software test matrix
- Run software tests on macOS - Drop support for Python 3.6
1 parent 5f88791 commit b37a0d8

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/tests.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,17 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
os: ["ubuntu-latest"]
26-
python-version: ["3.7", "3.12"]
25+
os: [
26+
"ubuntu-latest",
27+
"macos-12",
28+
"macos-latest",
29+
]
30+
python-version: ["3.7", "3.11", "3.12"]
31+
32+
# Doesn't work on macOS (ARM) with older versions of Python.
33+
exclude:
34+
- os: 'macos-latest'
35+
python-version: '3.7'
2736

2837
env:
2938
OS: ${{ matrix.os }}
@@ -46,6 +55,12 @@ jobs:
4655
4756
- name: Set up project
4857
run: |
58+
59+
# `setuptools 0.64.0` adds support for editable install hooks (PEP 660).
60+
# https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6400
61+
pip install "setuptools>=64" --upgrade
62+
63+
# Install package in editable mode.
4964
pip install --prefer-binary --editable=.[develop,test]
5065
5166
- name: Run linters and software tests

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ authors = [
2020
{ name = "Christian Haudum", email = "developer@christianhaudum.at" },
2121
{ name = "Andreas Motl", email = "andreas.motl@crate.io" },
2222
]
23-
requires-python = ">=3.6"
23+
requires-python = ">=3.7"
2424
classifiers = [
2525
"Development Status :: 4 - Beta",
2626
"Environment :: Plugins",

0 commit comments

Comments
 (0)