Skip to content

Commit

Permalink
Run tests on push and pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
haszi committed Feb 16, 2024
1 parent 27e3bc3 commit 5fb07f8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test
on: [push, pull_request]
jobs:
test:
name: test
strategy:
matrix:
version: ['8.0', '8.1', '8.2', '8.3']
runs-on: ubuntu-latest
steps:
- name: Checkout PhD
uses: actions/checkout@v2

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

- name: Get run-test.php
run: wget https://raw.githubusercontent.com/php/php-src/master/run-tests.php

- name: Run tests
run: php run-tests.php -P -q --no-progress --offline --show-diff --show-slow 1000 --set-timeout 120 -g FAIL,BORK,LEAK,XLEAK tests/

0 comments on commit 5fb07f8

Please sign in to comment.