-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (27 loc) · 841 Bytes
/
Copy pathci.yml
File metadata and controls
32 lines (27 loc) · 841 Bytes
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
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.2"
- name: Install dependencies
uses: php-actions/composer@v6
with:
version: 2.5.5
- name: Test & Coverage
uses: paambaati/codeclimate-action@v4.0.0
env:
CC_TEST_REPORTER_ID: b9873e5d887bdd5e654040a0056c2f6ebfbbf5f9b85eaacd26336bf2f27d6628
with:
coverageCommand: ./.github/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 -- {} +