Skip to content

Commit 3902c24

Browse files
committed
fix missing access
1 parent 9205478 commit 3902c24

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/build-publish.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ jobs:
2121
with:
2222
python-version: '3.10'
2323

24-
- name: install packages
25-
run: uv pip install -r pyproject.toml --extra testing --system
26-
2724
- name: Build package
2825
run: uv build
2926

.github/workflows/lint-test.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
enable-cache: true
2222

2323
- name: install packages
24-
run: uv pip install -r pyproject.toml --extra testing --system
25-
24+
run: uv venv && uv pip install -r pyproject.toml --extra testing
2625

2726

2827
lint:
2928
runs-on: ubuntu-22.04 # Provides system Python 3.10
29+
needs: prepare
3030

3131
steps:
3232
- name: checkout
@@ -38,16 +38,17 @@ jobs:
3838
python-version: '3.10'
3939

4040
- name: install packages
41-
run: uv pip install -r pyproject.toml --extra testing --system
41+
run: uv venv && uv pip install -r pyproject.toml --extra testing
4242

4343
- name: lint using ruff
44-
run: ruff check --output-format github ./src ./tests
44+
run: uv run ruff check --output-format github ./src ./tests
4545

4646
- name: format check using ruff
4747
run: ruff format --check ./src ./tests
4848

4949
test:
5050
runs-on: ubuntu-22.04 # Provides system Python 3.10
51+
needs: prepare
5152

5253
steps:
5354

@@ -60,7 +61,7 @@ jobs:
6061
python-version: '3.10'
6162

6263
- name: install packages
63-
run: uv pip install -r pyproject.toml --extra testing --system
64+
run: uv venv && uv pip install -r pyproject.toml --extra testing
6465

6566
- name: run pytest
66-
run: python -m pytest tests
67+
run: uv run pytest tests

0 commit comments

Comments
 (0)