Skip to content

Commit

Permalink
Add GA test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Aug 27, 2023
1 parent cc979da commit 8c5246a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Main
on: [push, pull_request]

jobs:
tests:
runs-on: "ubuntu-latest"
name: "PHP ${{ matrix.php-version }} Tests"
strategy:
matrix:
php-version:
- "8.0"
- "8.1"
- "8.2"
steps:
- name: "Checkout"
uses: "actions/checkout@v3"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
- name: "Install dependencies"
run: "composer install --no-progress"
- name: "Run tests"
run: "vendor/bin/phpunit"

0 comments on commit 8c5246a

Please sign in to comment.