Skip to content

Commit

Permalink
Test using GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Programie committed Oct 3, 2023
1 parent e6971b2 commit 070c5d1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: PHPUnit

on: push

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- run: composer install --prefer-dist --no-progress
- run: vendor/bin/phpunit

0 comments on commit 070c5d1

Please sign in to comment.