Skip to content

Commit 91bf416

Browse files
committed
Use uv to run tox in CI
1 parent b49bf2c commit 91bf416

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/_tox.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717

1818
- name: Install python packages
1919
uses: ./.github/actions/install_requirements
20-
20+
2121
- name: Install helm plugins
2222
run: helm plugin install https://github.com/losisin/helm-values-schema-json.git
23-
23+
2424
- name: Run tox
25-
run: tox -e ${{ inputs.tox }}
25+
run: uv run --frozen tox -e ${{ inputs.tox }}

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
python-version: ${{ matrix.python-version }}
3333

3434
- name: Unit tests
35-
run: uv run tox -e tests
35+
run: uv run --frozen tox -e tests
3636

3737
- name: Upload coverage to Codecov
3838
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5
@@ -66,7 +66,7 @@ jobs:
6666
run: uv run blueapi -c ${{ github.workspace }}/tests/unit_tests/example_yaml/valid_stomp_config.yaml serve &
6767

6868
- name: Run tests
69-
run: uv run tox -e system-test
69+
run: uv run --frozen tox -e tests
7070

7171
container:
7272
needs: [test, system-test]

0 commit comments

Comments
 (0)