Skip to content

Commit

Permalink
Merge pull request #45 from matyo91/feature/gh-actions
Browse files Browse the repository at this point in the history
Replace PrettyCI by GH-actions
  • Loading branch information
valentin-claras authored Sep 1, 2021
2 parents 373a145 + 5536ea7 commit 71849ca
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 21 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Code Quality

on:
push:
branches:
- master
pull_request:

jobs:
code-quality:
name: Code Quality
runs-on: ubuntu-latest

strategy:
matrix:
php: [ '7.2', '7.3', '7.4' ]

steps:
- name: 'Init repository'
uses: actions/checkout@v2

- name: 'Setup PHP'
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv, swoole
tools: composer

- name: "Install dependencies"
run: composer install

- name: 'Tests unit'
run: composer tests-unit

- name: 'Tests examples'
run: composer tests-examples

- name: 'Static analysis'
run: composer static-analysis
5 changes: 0 additions & 5 deletions .prettyci.composer.json

This file was deleted.

16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

0 comments on commit 71849ca

Please sign in to comment.