Skip to content

Commit

Permalink
Merge pull request #52 from Codeception/github-actions
Browse files Browse the repository at this point in the history
Use Github Actions
  • Loading branch information
Naktibalda committed Dec 18, 2020
2 parents 17ae6d4 + e253288 commit b7a7d49
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 10 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
@@ -0,0 +1,29 @@
name: CI

on: [push, pull_request]

jobs:
tests:
runs-on: ubuntu-latest

strategy:
matrix:
php: [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 --prefer-dist --no-progress --no-interaction

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

This file was deleted.

0 comments on commit b7a7d49

Please sign in to comment.