We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d823a18 commit 9fb78e6Copy full SHA for 9fb78e6
.github/workflows/ci.yml
@@ -7,14 +7,26 @@ jobs:
7
runs-on: ubuntu-latest
8
strategy:
9
matrix:
10
- php_version: [8.1, 8.2, 8.3]
+ include:
11
+ - php_version: 8.1
12
+ - php_version: 8.2
13
+ - php_version: 8.3
14
+ code_coverage: upload
15
16
steps:
17
- name: Checkout code
18
uses: actions/checkout@v4
19
+ with:
20
+ fetch-depth: 2 # Required by Scrutinizer (Ocular)
21
22
- name: Set up Docker Compose
23
run: sudo apt-get update && sudo apt-get install -y docker-compose
24
25
- name: Run tests
26
run: ./test.sh ${{ matrix.php_version }}
27
+
28
+ - name: Upload Scrutinizer coverage
29
+ uses: sudo-bot/action-scrutinizer@latest
30
+ if: github.repository == 'mindplay-dk/sql' && matrix.code_coverage == 'upload'
31
32
+ cli-args: "--format=php-clover test/build/clover.xml"
0 commit comments