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 b6a2f0c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 40 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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:
matrix:
php-version:
- '7.1'
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 b6a2f0c

Please sign in to comment.