Skip to content

Commit

Permalink
Fix required UnitTests check (#88)
Browse files Browse the repository at this point in the history
* Update checks.yaml

* Rename workflow from 'Code Analysis' to 'Code Checking'
  • Loading branch information
SVilgelm authored Dec 18, 2024
1 parent 9d80cee commit 3a9e3d1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/checks.yaml → .github/workflows/code.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Code Analysis"
name: Code

on:
push:
Expand Down Expand Up @@ -48,7 +48,10 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

UnitTests:
if: ${{ always() }}
needs: UnitTestJob
runs-on: ubuntu-latest
steps:
- run: echo "Unit Test checks passed"
- name: Check status
if: ${{ needs.UnitTestJob.result != 'success' }}
run: exit 1

0 comments on commit 3a9e3d1

Please sign in to comment.