:octocat: require successful static code analysis before test run

This commit is contained in:
smiley
2023-03-08 22:51:45 +01:00
parent ed2a92f33e
commit d8c9a1e881
+5 -1
View File
@@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
fail-fast: true
matrix:
php-version:
- "7.4"
@@ -49,6 +49,7 @@ jobs:
- name: "Run phan"
run: php vendor/bin/phan
build-docs:
name: "Build and publish Docs"
@@ -78,9 +79,12 @@ jobs:
folder: docs
clean: true
tests:
name: "Unit Tests"
needs: static-code-analysis
runs-on: ${{ matrix.os }}
strategy: