Skip to content

Commit 1bf3d63

Browse files
committed
:octocat: CI update
1 parent f87fbee commit 1bf3d63

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515

1616
static-code-analysis:
1717
name: "Static Code Analysis"
18-
1918
runs-on: ubuntu-latest
2019

2120
strategy:
@@ -26,6 +25,7 @@ jobs:
2625
- "8.0"
2726
- "8.1"
2827
- "8.2"
28+
- "8.3"
2929

3030
env:
3131
PHAN_ALLOW_XDEBUG: 0
@@ -49,11 +49,10 @@ jobs:
4949
- name: "Run phan"
5050
run: php vendor/bin/phan --target-php-version=${{ matrix.php-version }}
5151

52+
5253
tests:
5354
name: "Unit Tests"
54-
5555
needs: static-code-analysis
56-
5756
runs-on: ${{ matrix.os }}
5857

5958
strategy:
@@ -67,6 +66,7 @@ jobs:
6766
- "8.0"
6867
- "8.1"
6968
- "8.2"
69+
- "8.3"
7070

7171
steps:
7272
- name: "Checkout"
@@ -84,10 +84,12 @@ jobs:
8484
uses: ramsey/composer-install@v2
8585

8686
- name: "Run tests with phpunit"
87-
run: php vendor/bin/phpunit --configuration=phpunit.xml.dist
87+
run: php vendor/bin/phpunit --colors=always --configuration=phpunit.xml.dist
8888

8989
- name: "Send code coverage report to Codecov.io"
9090
uses: codecov/codecov-action@v3
91+
with:
92+
files: .build/coverage/clover.xml
9193

9294
- name: "Send code coverage report to Codacy"
9395
uses: codacy/codacy-coverage-reporter-action@v1

0 commit comments

Comments
 (0)