Skip to content

Commit 79bd25f

Browse files
committed
no need to --group
1 parent 5df8819 commit 79bd25f

File tree

3 files changed

+30
-22
lines changed

3 files changed

+30
-22
lines changed

.github/workflows/code-quality.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,14 @@ jobs:
1818
- name: Install uv
1919
uses: astral-sh/setup-uv@v7
2020

21+
- name: Install the project
22+
run: uv sync --locked --all-extras --dev
23+
2124
- name: Download datasets
22-
run: uv run --group dev make download-datasets
25+
run: uv run make download-datasets
2326

2427
- name: Run tests
25-
run: uv run --group dev pytest
28+
run: uv run pytest
2629

2730
- name: Install pre-commit
2831
uses: actions/cache@v3
@@ -31,4 +34,4 @@ jobs:
3134
key: pre-commit|${{ hashFiles('.pre-commit-config.yaml') }}
3235

3336
- name: Run pre-commit
34-
run: uv run --group dev pre-commit run --all-files
37+
run: uv run pre-commit run --all-files

.github/workflows/dev-docs.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,23 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15+
- name: Install pandoc
16+
uses: pandoc/actions/setup@v1
17+
18+
- name: Setup Graphviz
19+
uses: ts-graphviz/setup-graphviz@v2
20+
1521
- name: Install uv
1622
uses: astral-sh/setup-uv@v7
1723
with:
1824
# Use 3.12 for the docs env waiting for spaCy and srsly to support 3.13
1925
python-version: "3.12"
2026

21-
- name: Install pandoc
22-
uses: pandoc/actions/setup@v1
23-
24-
- name: Setup Graphviz
25-
uses: ts-graphviz/setup-graphviz@v2
27+
- name: Install the project
28+
run: uv sync --locked --all-extras --dev
2629

2730
- name: Build docs
28-
run: uv run --group docs make doc
29-
31+
run: uv run make doc
3032
- name: Deploy docs
3133
env:
3234
GH_TOKEN: ${{ secrets.GitHubToken }}
@@ -40,4 +42,4 @@ jobs:
4042
git checkout gh-pages
4143
git pull
4244
git checkout main
43-
uv run --group docs mike deploy dev --push --remote https://github.com/${{ github.repository }}.git
45+
uv run mike deploy dev --push --remote https://github.com/${{ github.repository }}.git

.github/workflows/release-docs.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,35 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15+
- name: Install pandoc
16+
uses: pandoc/actions/setup@v1
17+
18+
- name: Setup Graphviz
19+
uses: ts-graphviz/setup-graphviz@v2
20+
1521
- name: Install uv
1622
uses: astral-sh/setup-uv@v7
1723
with:
1824
# Use 3.12 for the docs env waiting for spaCy and srsly to support 3.13
1925
python-version: "3.12"
2026

21-
- name: Install pandoc
22-
uses: pandoc/actions/setup@v1
23-
24-
- name: Setup Graphviz
25-
uses: ts-graphviz/setup-graphviz@v2
27+
- name: Install the project
28+
run: uv sync --locked --all-extras --dev
2629

2730
- name: Install dependencies
2831
run: |
29-
uv run --group docs python -m spacy download en_core_web_sm
32+
uv run python -m spacy download en_core_web_sm
3033
3134
- name: Use Rich in notebooks
3235
run: |
33-
uv run --group docs ipython profile create
36+
uv run ipython profile create
3437
echo "%load_ext rich" > ~/.ipython/profile_default/startup/00_rich.ipy
3538
3639
- name: Execute notebooks
37-
run: uv run --group docs make execute-notebooks
40+
run: uv run make execute-notebooks
3841

3942
- name: Build docs
40-
run: uv run --group docs make doc
43+
run: uv run make doc
4144

4245
- name: Deploy docs
4346
env:
@@ -52,5 +55,5 @@ jobs:
5255
git checkout gh-pages
5356
git pull
5457
git checkout main
55-
RIVER_VERSION=$(uv run --group docs python -c "import river; print(river.__version__)")
56-
uv run --group docs mike deploy ${RIVER_VERSION} latest --update-aliases --push --remote https://${GH_TOKEN}@github.com/online-ml/river.git
58+
RIVER_VERSION=$(uv run python -c "import river; print(river.__version__)")
59+
uv run mike deploy ${RIVER_VERSION} latest --update-aliases --push --remote https://${GH_TOKEN}@github.com/online-ml/river.git

0 commit comments

Comments
 (0)