Skip to content

Commit

Permalink
added actions github
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcostaParedes authored May 7, 2021
1 parent 4249a60 commit 6fdca97
Showing 1 changed file with 29 additions and 0 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:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
tests:
runs-on: ubuntu-latest
name: Tests
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
extensions: json, pdo, grpc
coverage: xdebug
tools: php-cs-fixer, phpunit, codeception, composer

- name: Install Composer
run: composer install

- name: Execute tests
run: vendor/bin/codecept run --coverage --coverage-text --coverage-xml

0 comments on commit 6fdca97

Please sign in to comment.