Skip to content

Commit 4f4f997

Browse files
authored
Merge branch 'main' into cache-is-available
2 parents a0211b0 + 1b02786 commit 4f4f997

File tree

4 files changed

+51
-6
lines changed

4 files changed

+51
-6
lines changed

.github/workflows/tests.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: CI
2+
3+
on: [push, pull_request, workflow_dispatch]
4+
5+
permissions:
6+
contents: "read"
7+
8+
defaults:
9+
run:
10+
shell: bash
11+
env:
12+
FORCE_COLOR: 1
13+
14+
jobs:
15+
tests:
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
20+
os: ["ubuntu-24.04"]
21+
include:
22+
# Homebrew
23+
- python-version: "3.14"
24+
os: "macos-15"
25+
26+
runs-on: ${{ matrix.os }}
27+
name: ${{ fromJson('{"macos-15":"macOS","windows-latest":"Windows","ubuntu-24.04":"Ubuntu"}')[matrix.os] }} ${{ matrix.python-version }}
28+
timeout-minutes: 10
29+
steps:
30+
- name: "Checkout repository"
31+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
32+
with:
33+
persist-credentials: false
34+
35+
- name: "Setup Python ${{ matrix.python-version }}"
36+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
37+
with:
38+
python-version: ${{ matrix.python-version }}
39+
allow-prereleases: true
40+
check-latest: true
41+
42+
- name: "Run tests"
43+
run: |
44+
python -m pip install nox
45+
nox -s "tests-${{ matrix.python-version }}"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $ python -m pip install whichprovides
1313
You can also "splat" the module into your own projects:
1414

1515
```terminal
16-
$ git clone https://codeberg.org/sethmlarson/whichprovides
16+
$ git clone https://github.com/sethmlarson/whichprovides
1717
$ cp whichprovides/src/whichprovides/__init__.py ./whichprovides.py
1818
```
1919

@@ -38,4 +38,4 @@ $ python -m pip install whichprovides
3838
$ python -m whichprovides /usr/lib/x86_64-linux-gnu/libssl3.so
3939
4040
pkg:deb/ubuntu/libnss3@2:3.98-0ubuntu0.22.04.2
41-
```
41+
```

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import nox
22

33

4-
@nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13"])
4+
@nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"])
55
def tests(session):
66
session.install("-e.", "pytest")
77
session.run("pytest", *session.posargs)

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ license-files = ["LICENSE"]
1212
dynamic = ["version"]
1313

1414
[project.urls]
15-
"Home Page" = "https://codeberg.org/sethmlarson/whichprovides"
16-
"Documentation" = "https://codeberg.org/sethmlarson/whichprovides"
17-
"Source Code" = "https://codeberg.org/sethmlarson/whichprovides"
15+
"Home Page" = "https://github.com/sethmlarson/whichprovides"
16+
"Documentation" = "https://github.com/sethmlarson/whichprovides"
17+
"Source Code" = "https://github.com/sethmlarson/whichprovides"
1818

1919
[tool.hatch.version]
2020
path = "src/whichprovides/__init__.py"

0 commit comments

Comments
 (0)