-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (28 loc) · 869 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: CI
on: [push]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
- name: Install dependencies
uses: php-actions/composer@v6
with:
version: 2.5.5
- name: Test & Coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: 7f7276a02414317829eb37c7cd1bf09eb9d19613c58c2b289f2bf39270e77970
with:
workingDirectory: ./.github
coverageCommand: scripts/run-phpunit.sh
coverageLocations: coverage.xml:clover
debug: true
- name: Clean up GitHub workspace
uses: docker://ubuntu:latest
with:
args: find /github/workspace/. -name . -o -prune -exec rm -rf -- {} +