Skip to content

Commit

Permalink
Merge pull request Codeception#189 from Codeception/github-actions
Browse files Browse the repository at this point in the history
Use Github Actions
  • Loading branch information
Naktibalda authored Apr 10, 2021
2 parents 588d15b + 2f839ed commit afb4e60
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 14 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on: [push, pull_request]

jobs:
tests:
runs-on: ubuntu-latest

strategy:
matrix:
php: [7.0, 7.1, 7.2, 7.3, 7.4, 8.0]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Validate composer.json
run: composer validate

- name: Install dependencies
run: composer update -n --prefer-source

- name: Run test suite
run: php vendor/bin/codecept run
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

0 comments on commit afb4e60

Please sign in to comment.