From d4274295a736e1cb197345f412ccb5fd0ee9d952 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 19 Jun 2023 01:09:34 +0200 Subject: [PATCH] Create php.yml --- .github/workflows/php.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/php.yml diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml new file mode 100644 index 00000000000..8e0b542aa7f --- /dev/null +++ b/.github/workflows/php.yml @@ -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