feat: [OCISDEV-732] acceptance test (#12143)

* feat: acceptance test - graph

* feat: acceptance test - graph

* feat: acceptance test - graph

* fix: remove drone

* feat: run each behat suite as a separate worker

* feat: rename
This commit is contained in:
Michal Klos
2026-03-25 14:20:04 +01:00
committed by GitHub
parent 2926d21b90
commit b620b5453a
3 changed files with 106 additions and 4 deletions

40
.github/workflows/acceptance-tests.yml vendored Normal file
View File

@@ -0,0 +1,40 @@
name: Acceptance Tests
on:
pull_request:
workflow_dispatch:
jobs:
acceptance-tests-graph:
name: ${{ matrix.suite }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
suite:
- apiGraph
- apiGraphGroup
- apiGraphUser
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- uses: shivammathur/setup-php@v2
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip
tools: composer
- 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@v4
with:
name: test-logs-${{ matrix.suite }}
path: tests/acceptance/output/