Create php.yml
This commit is contained in:
parent
696d43821a
commit
d4274295a7
1 changed files with 30 additions and 0 deletions
30
.github/workflows/php.yml
vendored
Normal file
30
.github/workflows/php.yml
vendored
Normal 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
|
||||
Loading…
Reference in a new issue