File tree Expand file tree Collapse file tree 4 files changed +48
-81
lines changed Expand file tree Collapse file tree 4 files changed +48
-81
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+ services :
10+ mysql :
11+ image : mysql:5.7
12+ env :
13+ MYSQL_ROOT_PASSWORD : password
14+ MYSQL_DATABASE : phalcon
15+ ports :
16+ - 3306:3306
17+ options : >-
18+ --health-cmd "mysqladmin ping"
19+ --health-interval 10s
20+ --health-timeout 5s
21+ --health-retries 5
22+ strategy :
23+ matrix :
24+ php : [7.2, 7.3, 7.4]
25+
26+ steps :
27+ - name : Checkout code
28+ uses : actions/checkout@v2
29+
30+ - name : Setup PHP
31+ uses : shivammathur/setup-php@v2
32+ with :
33+ php-version : ${{ matrix.php }}
34+ extensions : phalcon4, pdo, mysql
35+ coverage : none
36+
37+ - name : Validate composer.json and composer.lock
38+ run : composer validate
39+
40+ - name : Install dependencies
41+ run : composer install --prefer-dist --no-progress --no-interaction --no-suggest
42+
43+ - name : Run test suite
44+ run : |
45+ php -r "file_exists('.env') || copy('.env.example', '.env');"
46+ php vendor/bin/codecept build
47+ php vendor/bin/codecept run unit
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# Codeception module for Phalcon framework
22
3- [ ![ Build Status] ( https://travis-ci.org /Codeception/module-phalcon.svg?branch=master )] ( https://travis-ci.org/Codeception/module-phalcon )
3+ ![ Build Status] ( https://github.com /Codeception/module-phalcon4/workflows/CI/badge.svg )
44
55## Installation
66
You can’t perform that action at this time.
0 commit comments