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 4c603a0
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
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'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.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: ./bin/phpunit
40 changes: 0 additions & 40 deletions .travis.yml

This file was deleted.

0 comments on commit 4c603a0

Please sign in to comment.