Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Commit

Permalink
Close #111: Replace Travis CI with Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nesk committed Oct 5, 2020
1 parent a8e9251 commit e6f4d56
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Tests
on: [push, pull_request]
jobs:
phpunit:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [7.1, 7.2, 7.3]
composer-flags: [null, --prefer-lowest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- run: composer update ${{ matrix.composer-flags }} --no-interaction --prefer-dist
- run: npm install
- run: ./vendor/bin/phpunit
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

0 comments on commit e6f4d56

Please sign in to comment.