Skip to content

Commit 230f8cf

Browse files
committed
Update CI
1 parent 0f4789a commit 230f8cf

File tree

3 files changed

+73
-3
lines changed

3 files changed

+73
-3
lines changed
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
name: CI
1+
name: Test All
22

33
permissions:
44
contents: read
55

66
on:
77
push:
8-
branches: [master]
8+
branches:
9+
- master
910
pull_request:
11+
branches:
12+
- master
1013

1114
jobs:
1215
test:

.github/workflows/test-quick.yaml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Test Quick
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
push:
8+
branches-ignore:
9+
- master
10+
pull_request:
11+
branches-ignore:
12+
- master
13+
14+
jobs:
15+
test:
16+
name: Test / ${{ matrix.python }} (${{ matrix.backend }}) / ${{ matrix.os }}
17+
runs-on: ${{ matrix.os }}-latest
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
os:
22+
- ubuntu
23+
python:
24+
- "3.9"
25+
- "3.14"
26+
backend:
27+
- base
28+
29+
steps:
30+
- uses: actions/checkout@v6
31+
32+
- name: Set up Python ${{ matrix.python }}
33+
uses: actions/setup-python@v6
34+
with:
35+
python-version: ${{ matrix.python }}
36+
allow-prereleases: true
37+
38+
- name: Install tox
39+
run: python -m pip install tox
40+
41+
- name: Run tests
42+
if: matrix.python != '3.9'
43+
run: python -m tox -e ci-${{ matrix.backend }} -- --verbose
44+
45+
- name: Run tests (3.9)
46+
if: matrix.python == '3.9'
47+
run: python -m tox -c tox-ci-py39.ini -e ci-${{ matrix.backend }} -- --verbose
48+
49+
docs:
50+
# Test documentation builds.
51+
# This environment mirrors the ReadTheDocs build environment.
52+
name: Docs
53+
runs-on: ubuntu-latest
54+
steps:
55+
- uses: actions/checkout@v6
56+
57+
- name: Set up Python ${{ matrix.python }}
58+
uses: actions/setup-python@v6
59+
with:
60+
python-version: "3.13"
61+
62+
- name: Install tox
63+
run: python -m pip install tox
64+
65+
- name: Run tests
66+
run: python -m tox -e docs

pyproject.in.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ dev = [
5151
]
5252

5353
[project.urls]
54-
"Source Code" = "https://github.com/cpburnz/python-pathspec"
54+
"Change Log" = "https://python-path-specification.readthedocs.io/en/latest/changes.html"
5555
"Documentation" = "https://python-path-specification.readthedocs.io/en/latest/index.html"
5656
"Issue Tracker" = "https://github.com/cpburnz/python-pathspec/issues"
57+
"Source Code" = "https://github.com/cpburnz/python-pathspec"
5758

5859
[tool.flit.sdist]
5960
include = [

0 commit comments

Comments
 (0)