pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/EuroPython/programapi/commit/0e99bc0991a17face8d3c9f4ed4ccc83c899dbbf

ss" /> GHA and Makefile · EuroPython/programapi@0e99bc0 · GitHub
Skip to content

Commit 0e99bc0

Browse files
committed
GHA and Makefile
1 parent 620b799 commit 0e99bc0

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/tests.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ jobs:
1515
- name: Set up Python 3
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: '3.x'
19-
cache: "pip"
18+
python-version: '3.13'
2019

21-
- name: Install dependencies
22-
run: make deps/pre install
20+
- name: Setup uv
21+
uses: astral-sh/setup-uv@v5
22+
23+
- name: Install dependencies from uv.lock
24+
run: make deps/install
2325

2426
- name: Run pytest
2527
run: make test

Makefile

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1+
dev:
2+
uv sync --dev
13

2-
deps/pre:
3-
pip install pip-tools
4-
5-
deps/compile:
6-
pip-compile
4+
deps/upgrade:
5+
uv lock --upgrade
76

87
deps/install:
9-
pip-sync
8+
uv sync
109

1110
install: deps/install
1211

@@ -23,11 +22,10 @@ endif
2322
all: download transform
2423

2524
test:
26-
PYTHONPATH="src" pytest
25+
uv run pytest
2726

2827
pre-commit:
2928
pre-commit install
30-
pre-commit run --all-files
3129

3230
clean:
3331
git clean -xdf

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy