This repository was archived by the owner on Mar 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +51
-29
lines changed
Expand file tree Collapse file tree 3 files changed +51
-29
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.1, 7.2, 7.3]
12+
13+ env :
14+ CODECEPTION_VERSION : ' 3.0.x-dev'
15+
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v2
19+
20+ - name : Setup PHP
21+ uses : shivammathur/setup-php@v2
22+ with :
23+ php-version : ${{ matrix.php }}
24+ coverage : xdebug
25+
26+ - name : Prepare dependencies
27+ run : |
28+ wget https://github.com/consolidation/Robo/releases/download/1.4.12/robo.phar
29+ php robo.phar prepare
30+ composer update
31+
32+ - name : Run test suite
33+ run : |
34+ php robo.phar test cli
35+ php robo.phar test "unit -g core"
36+ php robo.phar test "tests/unit/Codeception/Constraints/"
37+ php robo.phar test "tests/unit/Codeception/Module/AssertsTest.php"
38+
39+ - name : run tests with 2.5 branch
40+ run : |
41+ CODECEPTION_VERSION=2.5.x-dev php robo.phar prepare
42+ composer update
43+ php robo.phar test cli
44+ php robo.phar test "unit -g core"
45+ php robo.phar test "tests/unit/Codeception/Constraints/"
46+ php robo.phar test "tests/unit/Codeception/Module/AssertsTest.php"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33Builds:
44
5- * 6.0 [ ![ Build Status] ( https://travis-ci.org/Codeception/phpunit-wrapper.svg?branch=6.0 )] ( https://travis-ci.org/Codeception/phpunit-wrapper )
6- * 7.0 [ ![ Build Status] ( https://travis-ci.org/Codeception/phpunit-wrapper.svg?branch=7.0 )] ( https://travis-ci.org/Codeception/phpunit-wrapper )
5+ * 9.0 ![ Build Status] ( https://github.com/Codeception/phpunit-wrapper/workflows/CI/badge.svg?branch=9.0 )
6+ * 8.0 ![ Build Status] ( https://github.com/Codeception/phpunit-wrapper/workflows/CI/badge.svg?branch=8.0 )
7+ * 7.1 ![ Build Status] ( https://github.com/Codeception/phpunit-wrapper/workflows/CI/badge.svg?branch=7.1 )
8+ * 6.5 ![ Build Status] ( https://github.com/Codeception/phpunit-wrapper/workflows/CI/badge.svg?branch=6.5 )
9+ * 6.0 ![ Build Status] ( https://github.com/Codeception/phpunit-wrapper/workflows/CI/badge.svg?branch=6.0 )
710
811Codeception heavily relies on PHPUnit for running and managing tests.
912Not all PHPUnit classes fit the needs of Codeception, that's why they were extended or redefined.
You can’t perform that action at this time.
0 commit comments