@@ -89,39 +89,36 @@ Jenkins should locate `report.html` at `tests/_output/`. Now Jenkins will displa
8989GitHub Actions CI can be used to launch tests. Install PHP and Composer and execute tests:
9090
9191``` yaml
92- on :
93- pull_request :
94- branches-ignore : gh-pages
95- push :
96- branches-ignore : gh-pages
97-
9892name : Codeception Tests
99-
93+ on :
94+ pull_request :
95+ branches-ignore : gh-pages
96+ push :
97+ branches-ignore : gh-pages
98+
10099jobs :
101- build :
102- runs-on : ubuntu-latest
103-
104- steps :
105- - name : Checkout
106- uses : actions/checkout@v2
107-
108- - name : Install PHP
109- uses : shivammathur/setup-php@v2
110- with :
111- php-version : ${{ matrix.php }}
112- extensions : curl, mbstring, openssl, pdo, pdo_sqlite
113- ini-values : memory_limit=-1, date.timezone='UTC'
114- coverage : xdebug
115- tools : composer:v2
116-
117- - name : Validate composer.json and composer.lock
118- run : composer validate
119-
120- - name : Install dependencies
121- run : composer install --prefer-dist --no-progress --no-interaction --no-suggest
122-
123- - name : Run tests
124- run : php vendor/bin/codecept run
100+ build :
101+ runs-on : ubuntu-latest
102+ steps :
103+ - name : Checkout
104+ uses : actions/checkout@v2
105+ - name : Install PHP
106+ uses : shivammathur/setup-php@v2
107+ with :
108+ php-version : ${{ matrix.php }}
109+ extensions : curl, mbstring, openssl, pdo, pdo_sqlite
110+ ini-values : memory_limit=-1, date.timezone='UTC'
111+ coverage : xdebug
112+ tools : composer:v2
113+
114+ - name : Validate composer.json and composer.lock
115+ run : composer validate
116+
117+ - name : Install dependencies
118+ run : composer install --prefer-dist --no-progress --no-interaction --no-suggest
119+
120+ - name : Run tests
121+ run : php vendor/bin/codecept run
125122` ` `
126123
127124## GitLab CI
0 commit comments