mirror of
https://github.com/PostgreSQL-For-Wordpress/postgresql-for-wordpress.git
synced 2025-07-30 17:57:13 +02:00
add github action for running tests
This commit is contained in:
21
.github/workflows/php.yml
vendored
Normal file
21
.github/workflows/php.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: PHP Composer
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "v2", "v3" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "v2", "v3" ]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Run Tests
|
||||||
|
run: ./tests/tools/phpunit.phar tests/
|
Reference in New Issue
Block a user