Skip to content

Commit cc6733f

Browse files
update workflows to respect the switch to uv
1 parent c00b4e0 commit cc6733f

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.github/workflows/docs_pages.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,14 @@ jobs:
1313
with:
1414
python-version: '3.12'
1515

16-
- name: Install Poetry
17-
uses: snok/install-poetry@v1
18-
1916
- name: Install dependencies
2017
run: |
21-
poetry install --with dev
18+
pip install uv
19+
uv sync --all-extras
2220
2321
- name: Sphinx build
2422
run: |
25-
poetry run sphinx-build -b html docs/source docs/build/html
23+
uv run sphinx-build -b html docs/source docs/build/html
2624
2725
- name: Deploy documentation
2826
uses: peaceiris/actions-gh-pages@v4

.github/workflows/linting.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ jobs:
99
with:
1010
python-version: '3.12'
1111

12-
- name: Install Poetry
13-
uses: snok/install-poetry@v1
14-
1512
- name: Install dependencies
1613
run: |
17-
poetry install --with dev
14+
pip install uv
15+
uv sync --all-extras
16+
1817
- name: Lint
1918
run: |
20-
poetry run flake8 consys4py
19+
uv run flake8 consys4py

0 commit comments

Comments
 (0)