Create php.yml

This commit is contained in:
Laurent Destailleur 2023-06-19 01:09:34 +02:00 committed by GitHub
parent 696d43821a
commit d4274295a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

30
.github/workflows/php.yml vendored Normal file
View file

@ -0,0 +1,30 @@
name: Test CI
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Version
run: composer -V
- name: Set vendor-dir
run: composer -n config -g vendor-dir htdocs/includes
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md
# - name: Run test suite
# run: composer run-script test