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 +52
-28
lines changed
Expand file tree Collapse file tree 3 files changed +52
-28
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 : [5.6, 7.0]
12+
13+ env :
14+ CODECEPTION_VERSION : ' 3.0.x-dev'
15+ extensions : sqlite,zip
16+
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v2
20+
21+ - name : Setup PHP
22+ uses : shivammathur/setup-php@v2
23+ with :
24+ php-version : ${{ matrix.php }}
25+ coverage : xdebug
26+
27+ - name : Prepare dependencies
28+ run : |
29+ wget https://github.com/consolidation/Robo/releases/download/1.4.12/robo.phar
30+ php robo.phar prepare
31+ composer update
32+
33+ - name : Run test suite
34+ run : |
35+ php robo.phar test cli
36+ php robo.phar test "unit -g core"
37+ php robo.phar test "tests/unit/Codeception/Constraints/"
38+ php robo.phar test "tests/unit/Codeception/Module/AssertsTest.php"
39+
40+ - name : run tests with 2.5 branch
41+ run : |
42+ CODECEPTION_VERSION=2.5.x-dev php robo.phar prepare
43+ composer update
44+ php robo.phar test cli
45+ php robo.phar test "unit -g core"
46+ php robo.phar test "tests/unit/Codeception/Constraints/"
47+ 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