Compare commits

...
Author SHA1 Message Date
Michal Klos 0ad3469c44 Merge branch 'master' into feat/ocisdev-730 2026-03-26 14:15:11 +01:00
Thomas Müller d69ffb2cb9 ci: [ocisdev-730] code quality 2026-03-26 13:29:27 +01:00
+40 -7
View File
@@ -5,6 +5,45 @@ on:
workflow_dispatch:
jobs:
coding-standard:
name: coding-standard
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip
tools: composer
- name: PHP code style
run: |
make vendor-bin-codestyle
make vendor-bin-codesniffer
make test-php-style
- name: Check env var annotations
run: make check-env-var-annotations
check-gherkin-standard:
name: check-gherkin-standard
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
- name: Lint feature files
run: |
npm install -g @gherlint/gherlint@1.1.0
make test-gherkin-lint
check-suites-in-expected-failures:
name: check-suites-in-expected-failures
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check suites
run: bash tests/acceptance/check-deleted-suites-in-expected-failure.sh
build-and-test:
name: build-and-test
runs-on: ubuntu-latest
@@ -23,6 +62,7 @@ jobs:
run: make test
acceptance-tests:
needs: [coding-standard, check-gherkin-standard, check-suites-in-expected-failures]
name: ${{ matrix.suite }}
needs: [build-and-test]
runs-on: ubuntu-latest
@@ -74,13 +114,6 @@ jobs:
- name: Run ${{ matrix.suite }}
run: BEHAT_SUITES=${{ matrix.suite }} bash tests/acceptance/run-github.sh
- name: Upload test logs
if: failure()
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: test-logs-${{ matrix.suite }}
path: tests/acceptance/output/
all-acceptance-tests:
needs: [build-and-test, acceptance-tests]
runs-on: ubuntu-latest