feat: add cicd tests cli

This commit is contained in:
Benjamin Labrecque
2026-07-27 10:47:44 +02:00
parent 92c8e3ab4b
commit 82810af1dd
2 changed files with 9 additions and 1 deletions
+8 -1
View File
@@ -18,11 +18,18 @@ jobs:
uses: actions/checkout@v4
- name: Install and setup uv
uses: astral-sh/setup-uv@v5
uses: actions/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
version: "latest"
enable-cache: true # Speeds up runs by caching python dependencies # TODO: does this work?
- name: Install Python 3.10
run: uv python install 3.10
- name: Run tests
run: |
cd scripts && uv run pytest
- name: Parse Service Directory Name
id: parse_branch
# Uses bash shell parameter elimination to strip 'feature/add-service-' from the front
+1
View File
@@ -44,6 +44,7 @@ jobs:
- name: Install uv
uses: actions/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Install Python 3.10
run: uv python install 3.10