File tree Expand file tree Collapse file tree 3 files changed +29
-13
lines changed Expand file tree Collapse file tree 3 files changed +29
-13
lines changed Original file line number Diff line number Diff line change
1
+ name : Main
2
+ on :
3
+ push :
4
+ pull_request :
5
+
6
+ jobs :
7
+ tests :
8
+ runs-on : " ubuntu-latest"
9
+ name : " PHP ${{ matrix.php-version }} Unit Tests"
10
+ strategy :
11
+ matrix :
12
+ php-version :
13
+ - " 7.4"
14
+ - " 8.0"
15
+ - " 8.1"
16
+ steps :
17
+ - name : " Checkout"
18
+ uses : " actions/checkout@v2"
19
+ - name : " Install PHP"
20
+ uses : " shivammathur/setup-php@v2"
21
+ with :
22
+ coverage : " none"
23
+ php-version : " ${{ matrix.php-version }}"
24
+ tools : composer:v2
25
+ - name : " Install dependencies"
26
+ run : " composer install --no-interaction --prefer-source --ignore-platform-reqs"
27
+ - name : " PHPUnit"
28
+ run : " php vendor/bin/phpunit"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- [ ![ Build Status] ( https://travis-ci.org /ircmaxell/php-cfg. svg?branch=master )] ( https://travis-ci.org /ircmaxell/php-cfg )
1
+ [ ![ Build Status] ( https://github.com /ircmaxell/php-cfg/actions/workflows/main.yml/badge. svg )] ( https://github.com /ircmaxell/php-cfg/actions )
2
2
[ ![ Latest Stable Version] ( https://poser.pugx.org/ircmaxell/php-cfg/v/stable )] ( https://packagist.org/packages/ircmaxell/php-cfg )
3
3
4
4
# PHP-CFG
You can’t perform that action at this time.
0 commit comments