Skip to content

Commit 0415c6f

Browse files
committed
!ci: cov
1 parent 237fdf6 commit 0415c6f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
- name: Fix file permission
167167
run: chmod +x micropython/mpy-cross/build/mpy-cross
168168
- name: Build and test
169-
run: COVERAGE=1 ./test-virtualhub.sh
169+
run: ./test-virtualhub.sh
170170
- name: Coveralls
171171
uses: coverallsapp/github-action@v2
172172
with:

test-virtualhub.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ if [[ $CI != "true" ]]; then
1111
NOT_CI="true"
1212
fi
1313

14-
: ${COVERAGE:=1}
14+
COVERAGE=1
15+
export COVERAGE
16+
1517
SCRIPT_DIR=$(readlink -f "$(dirname "$0")")
1618
BRICK_DIR="$SCRIPT_DIR/bricks/simhub"
1719
MP_TEST_DIR="$SCRIPT_DIR/micropython/tests"

0 commit comments

Comments
 (0)