File tree Expand file tree Collapse file tree 3 files changed +30
-19
lines changed Expand file tree Collapse file tree 3 files changed +30
-19
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ tests :
7
+ runs-on : ubuntu-latest
8
+
9
+ strategy :
10
+ matrix :
11
+ php : [7.2, 7.3, 7.4, 8.0]
12
+
13
+ steps :
14
+ - name : Checkout code
15
+ uses : actions/checkout@v2
16
+
17
+ - name : Setup PHP
18
+ uses : shivammathur/setup-php@v2
19
+ with :
20
+ php-version : ${{ matrix.php }}
21
+
22
+ - name : Validate composer.json
23
+ run : composer validate
24
+
25
+ - name : Install dependencies
26
+ run : composer update --prefer-source
27
+
28
+ - name : Run test suite
29
+ run : php vendor/bin/phpunit tests
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Codeception\Stub
2
2
3
- [ ![ Build Status ] ( https://travis-ci.org /Codeception/Stub.svg?branch=master )] ( https://travis-ci.org/Codeception/Stub )
3
+ ![ CI ] ( https://github.com /Codeception/Stub/workflows/CI/badge.svg )
4
4
[ ![ Latest Stable Version] ( https://poser.pugx.org/codeception/stub/v/stable )] ( https://packagist.org/packages/codeception/stub )
5
5
[ ![ Total Downloads] ( https://poser.pugx.org/codeception/stub/downloads )] ( https://packagist.org/packages/codeception/stub )
6
6
[ ![ License] ( https://poser.pugx.org/codeception/stub/license )] ( https://packagist.org/packages/codeception/stub )
You can’t perform that action at this time.
0 commit comments