Skip to content

Commit 456e3ca

Browse files
committed
pyproject: Rename stats to build group.
We need certain dependencies while building, not just for the stats. Move freetype-py to build group. We'll need this to build fonts.
1 parent c31d077 commit 456e3ca

4 files changed

Lines changed: 41 additions & 51 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
- name: Fix file permission
109109
run: chmod +x micropython/mpy-cross/build/mpy-cross
110110
- run: pipx install poetry
111-
- run: poetry install --only=stats
111+
- run: poetry install --only=build
112112
- name: Build firmware (pull request)
113113
if: ${{ github.base_ref != null }}
114114
run: poetry run .github/build-each-commit.py ${{ matrix.hub }} ${{ github.sha }}
@@ -148,6 +148,8 @@ jobs:
148148
steps:
149149
- name: Install dependencies
150150
run: sudo apt-get update && sudo apt-get install lcov pipx
151+
- run: pipx install poetry
152+
- run: poetry install --only=build
151153
- name: Install Pybricksdev
152154
run: pipx install pybricksdev
153155
- name: Checkout repo

.github/workflows/stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
submodules: true
2121
fetch-depth: 0
2222
- run: pipx install poetry
23-
- run: poetry install --only=stats
23+
- run: poetry install --only=build
2424
- name: Build missing commits
2525
env:
2626
STORAGE_ACCOUNT: ${{ secrets.STORAGE_ACCOUNT }}

0 commit comments

Comments
 (0)