~ancarda/high-test-coverage

ref: 6f0007886977f90f075dc23aad6af6e9c58733f2 high-test-coverage/.builds/php7_3.yml -rw-r--r-- 829 bytes
6f000788Mark Dain CI improvements and fixes 5 months ago
                                                                                
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
---
image: debian/buster

secrets:
 - cde47d09-64da-4651-a62e-bf762c4dec73

sources:
  - https://git.sr.ht/~ancarda/high-test-coverage

packages:
  - php7.3-cli
  - composer

  # some dev tools use XML config files
  - php7.3-xml

  # for code coverage (phpunit and infection)
  - php-xdebug

  # for composer
  - unzip

environment:
  DIR: high-test-coverage
  XDEBUG_MODE: coverage

tasks:
  - composer:    cd $DIR && composer install
  - analyze:     cd $DIR && composer run-script analyze
  - check-style: cd $DIR && composer run-script check-style
  - test:        cd $DIR && composer run-script test
  - check-cov:   cd $DIR && composer run-script check-coverage
  - check-tests: cd $DIR && composer run-script check-tests
  - packagist:   cd $DIR && .builds/poke-packagist ancarda coverage-enforcer ~/.packagist-api-token