Skip to content

Commit df77eb4

Browse files
committed
ci: add GitHub Actions workflow (was missing entirely, no CI existed)
Runs the existing self-test on 3.9 and 3.12 since the package claims 3.8-3.12 support and has zero external dependencies to install. Also fixed pyproject.toml's Repository/Issues URLs, which still had the 'your-username' placeholder instead of the real GitHub org.
1 parent c854253 commit df77eb4

2 files changed

Lines changed: 28 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ["3.9", "3.12"]
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- uses: actions/setup-python@v5
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
22+
- name: Install (stdlib-only, editable)
23+
run: pip install -e .
24+
25+
- name: Run self-test
26+
run: python tests/test_modelhawk.py

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ dependencies = []
3535
modelhawk = "modelhawk:main"
3636

3737
[project.urls]
38-
Repository = "https://github.com/your-username/ModelHawk"
39-
Issues = "https://github.com/your-username/ModelHawk/issues"
38+
Repository = "https://github.com/Pyhroff/ModelHawk"
39+
Issues = "https://github.com/Pyhroff/ModelHawk/issues"
4040

4141
[tool.setuptools]
4242
py-modules = ["modelhawk"]

0 commit comments

Comments
 (0)