Skip to content

Commit 9692b10

Browse files
committed
github: fix unix coverage build
After merging upstream micropython, this was broken.
1 parent 0411841 commit 9692b10

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,15 @@ jobs:
5252
- name: Build
5353
run: |
5454
cd micropython
55-
git submodule update --init --depth=1 lib/axtls
56-
git submodule update --init --depth=1 lib/berkeley-db-1.xx
57-
git submodule update --init --depth=1 lib/libffi
58-
make $MAKEOPTS -C ports/unix deplibs
59-
make $MAKEOPTS -C ports/unix coverage
55+
make ${MAKEOPTS} -C ports/unix VARIANT=coverage submodules
56+
make ${MAKEOPTS} -C ports/unix VARIANT=coverage deplibs
57+
make ${MAKEOPTS} -C ports/unix VARIANT=coverage
6058
- name: Test
6159
if: success()
6260
run: |
6361
cd micropython
64-
(cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests)
65-
(cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -d thread)
66-
(cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --emit native)
67-
(cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests --via-mpy -d basics float)
68-
# test when input script comes from stdin
69-
cat tests/basics/0prelim.py | ports/unix/micropython_coverage | grep -q 'abc'
62+
make -C ports/unix VARIANT=coverage test_full
63+
(cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython-coverage ./run-multitests.py multi_net/*.py)
7064
- name: List failed tests
7165
if: failure()
7266
run: (cd micropython/tests && for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff -u $testbase.exp $testbase.out; done)

0 commit comments

Comments
 (0)