Skip to content

Commit 3e03a13

Browse files
authored
Merge pull request #19 from Codeception/github-actions
Use Github Actions
2 parents fd921e0 + bf8d587 commit 3e03a13

File tree

2 files changed

+29
-27
lines changed

2 files changed

+29
-27
lines changed

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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, 7.1, 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 and composer.lock
23+
run: composer validate
24+
25+
- name: Install dependencies
26+
run: composer install --prefer-dist --no-progress --no-interaction --no-suggest
27+
28+
- name: Run test suite
29+
run: php vendor/bin/codecept run

.travis.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)