Skip to content

Commit

Permalink
Replace Travis config with GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrans committed Aug 20, 2024
1 parent ca53420 commit 3f4158f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 7 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: phpunit

on:
push:
branches:
- '**'
pull_request:
branches:
- '**'

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
php-version: ['5.6', '7.4', '8.3']

steps:
- name: Checkout code
uses: actions/checkout@v4

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

- name: Install dependencies
run: composer install

- name: Run tests
run: vendor/bin/phpunit QueryGeneratorTest.php
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

0 comments on commit 3f4158f

Please sign in to comment.