feat: add cicd tests cli
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user