Skip to content

Commit d8f188c

Browse files
Create a unit-tests global check for GH actions
1 parent f146260 commit d8f188c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/build.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ defaults:
1515
shell: bash
1616

1717
jobs:
18-
unit-tests:
19-
name: Unit tests
18+
tests-run:
19+
name: Tests run
2020
runs-on: ${{ matrix.os }}
2121
strategy:
2222
matrix:
@@ -44,6 +44,13 @@ jobs:
4444
# Run Unit tests
4545
platformio test -vvv
4646
47+
unit-tests:
48+
name: Unit tests
49+
needs: tests-run
50+
runs-on: ubuntu-latest
51+
steps:
52+
- run: echo "Tests succeed!"
53+
4754
code-format:
4855
name: Code format
4956
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)