File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -145,8 +145,10 @@ jobs:
145145 needs : [mpy_cross]
146146 runs-on : ubuntu-24.04
147147 steps :
148- - name : Install depedencies
149- run : sudo apt-get update && sudo apt-get install lcov python3-numpy --yes
148+ - name : Install dependencies
149+ run : sudo apt-get update && sudo apt-get install lcov pipx
150+ - name : Install Pybricksdev
151+ run : pipx install pybricksdev
150152 - name : Checkout repo
151153 uses : actions/checkout@v4
152154 with :
@@ -166,12 +168,12 @@ jobs:
166168 - name : Fix file permission
167169 run : chmod +x micropython/mpy-cross/build/mpy-cross
168170 - name : Build and test
169- run : COVERAGE=1 ./test-virtualhub.sh
171+ run : ./test-virtualhub.sh
170172 - name : Coveralls
171173 uses : coverallsapp/github-action@v2
172174 with :
173175 github-token : ${{ secrets.GITHUB_TOKEN }}
174- file : bricks/virtualhub /build-coverage/lcov.info
176+ file : bricks/simhub /build-coverage/lcov.info
175177 flag-name : virtualhub
176178 parallel : true
177179
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ if [[ $CI != "true" ]]; then
1111 NOT_CI=" true"
1212fi
1313
14- : ${COVERAGE:= 1}
14+ COVERAGE=1
15+ export COVERAGE
16+
1517SCRIPT_DIR=$( readlink -f " $( dirname " $0 " ) " )
1618BRICK_DIR=" $SCRIPT_DIR /bricks/simhub"
1719MP_TEST_DIR=" $SCRIPT_DIR /micropython/tests"
You can’t perform that action at this time.
0 commit comments