Skip to content

Commit

Permalink
SUPPORT-87332 - added GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri Gaidoba committed Nov 16, 2023
1 parent 9c9e749 commit 9452663
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 40 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on: push

permissions:
contents: read

jobs:
phpunit:
name: Run tests on ${{ matrix.php-version }} with ${{ matrix.dependency-versions }} dependencies
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
php-version:
- '7.1'
- '7.2'
dependency-versions:
- 'lowest'
- 'highest'
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}

- name: Install dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.dependency-versions }}

- name: Run tests
run: composer test

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

This file was deleted.

0 comments on commit 9452663

Please sign in to comment.