Skip to content

Commit

Permalink
Merge pull request #27 from open-source-contributions/issue_#23
Browse files Browse the repository at this point in the history
Resolves issue #23
  • Loading branch information
odan authored Jul 23, 2020
2 parents d4891cb + bf9e833 commit fb8e9b8
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 19 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: build

on: [push, pull_request]

jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.2', '7.3', '7.4']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}

steps:
- name: Checkout
uses: actions/checkout@v1

- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, pdo, pdo_mysql, intl, zip
coverage: none

- name: Check PHP Version
run: php -v

- name: Check Composer Version
run: composer -V

- name: Check PHP Extensions
run: php -m

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run test suite
run: composer check-all
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

0 comments on commit fb8e9b8

Please sign in to comment.