Skip to content

Commit c6f1e21

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. Also build and run virtualhub with these dependencies.
1 parent c31d077 commit c6f1e21

4 files changed

Lines changed: 42 additions & 52 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
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 }}
@@ -168,8 +168,10 @@ jobs:
168168
path: micropython/mpy-cross/build
169169
- name: Fix file permission
170170
run: chmod +x micropython/mpy-cross/build/mpy-cross
171+
- run: pipx install poetry
172+
- run: poetry install --only=build
171173
- name: Build and test
172-
run: ./test-virtualhub.sh
174+
run: poetry run ./test-virtualhub.sh
173175
- name: Coveralls
174176
uses: coverallsapp/github-action@v2
175177
with:

.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)