Skip to content

Commit

Permalink
Create a unit-tests global check for GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-rabault committed Feb 14, 2023
1 parent eeff782 commit 8a9bc1e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ defaults:
shell: bash

jobs:
unit-tests:
name: Unit tests
tests-run:
name: Tests run
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -44,6 +44,13 @@ jobs:
# Run Unit tests
platformio test -vvv
unit-tests:
name: Unit tests
needs: tests-run
runs-on: ubuntu-latest
steps:
- run: echo "Tests succeed!"

code-format:
name: Code format
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8a9bc1e

Please sign in to comment.