1818 - name : Checkout code
1919 uses : actions/checkout@v5
2020
21- - name : Set up Python
22- uses : actions/setup-python@v6
23- with :
24- python-version : " 3.12"
25-
26- - name : Install uv
27- uses : astral-sh/setup-uv@v7
28- with :
29- enable-cache : true
30- cache-dependency-glob : pyproject.toml
31-
32- - name : Install dependencies
33- run : make install-dev
21+ - name : Setup launchpad dev
22+ uses : ./.github/actions/setup-dev
3423
3524 - name : Check lint
3625 run : make check-lint
5039 - name : Checkout code
5140 uses : actions/checkout@v5
5241
53- - name : Set up Python
54- uses : actions/setup-python@v6
55- with :
56- python-version : " 3.12"
57-
58- - name : Install uv
59- uses : astral-sh/setup-uv@v7
60- with :
61- enable-cache : true
62- cache-dependency-glob : pyproject.toml
63-
64- - name : Install dependencies
65- run : make install-dev
42+ - name : Setup launchpad dev
43+ uses : ./.github/actions/setup-dev
6644
6745 - name : Build Docker image with test fixtures
6846 run : docker build --build-arg TEST_BUILD=true -t launchpad-test .
7654 -e KAFKA_BOOTSTRAP_SERVERS="localhost:9092" \
7755 -e KAFKA_GROUP_ID="launchpad-test" \
7856 -e KAFKA_TOPICS="preprod-artifact-events" \
79- launchpad-test python -m pytest -n auto tests/ -v
57+ launchpad-test uv run pytest -n auto tests/ -v
8058
8159 - name : Test CLI installation and basic functionality in Docker
8260 run : |
9270 - name : Checkout code
9371 uses : actions/checkout@v5
9472
95- - name : Set up Python
96- uses : actions/setup-python@v6
97- with :
98- python-version : " 3.12"
99-
100- - name : Install uv
101- uses : astral-sh/setup-uv@v7
102- with :
103- enable-cache : true
104- cache-dependency-glob : pyproject.toml
105-
106- - name : Install dependencies
107- run : make install-dev
73+ - name : Setup launchpad dev
74+ uses : ./.github/actions/setup-dev
10875
10976 - name : Build Docker image with test fixtures
11077 run : docker build --build-arg TEST_BUILD=true -t launchpad-test .
12188 -v ${{ github.workspace }}:/workspace \
12289 -w /workspace \
12390 --user $(id -u):$(id -g) \
124- launchpad-test python -m pytest -n auto tests/unit/ tests/integration/ -v --cov --cov-branch --cov-report=xml --junitxml=junit.xml
91+ launchpad-test uv run pytest -n auto tests/ -v --cov --cov-branch --cov-report=xml --junitxml=junit.xml
12592
12693 - name : Upload coverage reports to Codecov
12794 uses : codecov/codecov-action@v5
@@ -144,19 +111,8 @@ jobs:
144111 - name : Checkout code
145112 uses : actions/checkout@v5
146113
147- - name : Set up Python
148- uses : actions/setup-python@v6
149- with :
150- python-version : " 3.12"
151-
152- - name : Install uv
153- uses : astral-sh/setup-uv@v7
154- with :
155- enable-cache : true
156- cache-dependency-glob : pyproject.toml
157-
158- - name : Install dependencies
159- run : make install-dev
114+ - name : Setup launchpad dev
115+ uses : ./.github/actions/setup-dev
160116
161117 - name : Build package
162118 run : make build
0 commit comments