generated from htwdd-se/Projektstruktur_OpenUP-Templates
-
Notifications
You must be signed in to change notification settings - Fork 4
39 lines (35 loc) · 822 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
34
35
36
37
38
39
name: ci
on:
push:
paths:
- '.github/workflows/ci.yml'
- '**.php'
branches:
- 'main'
pull_request:
paths:
- '.github/workflows/ci.yml'
- '**.php'
jobs:
php-unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
#- name: Start containers
# run: |
# cd src/
# docker-compose up -d
#- name: Sleep for 30 seconds
# uses: jakejarvis/wait-action@master
# with:
# time: '30s'
#- uses: php-actions/composer@v5
- name: PHPUnit Tests
uses: php-actions/phpunit@v3
with:
bootstrap: test/autoload.php
php_extensions: xdebug
configuration: test/phpunit.xml
args: --coverage-text
env:
XDEBUG_MODE: coverage