-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (27 loc) · 921 Bytes
/
test-acceptance.yml
File metadata and controls
35 lines (27 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Run acceptance tests (WebTests & Behat)
on: [pull_request]
jobs:
run-qa-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: /var/www/html/
container:
image: ghcr.io/openconext/openconext-basecontainers/php82-apache2-node20-composer2:latest
volumes:
- .:/var/www/html
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Copy certificate material
run: mkdir /config && cp -r ./ci/config/* /config/
- name: Grab the right parameters.yaml
run: cp ./config/openconext/parameters.yaml.test.dist ./config/openconext/parameters.yaml
- name: Composer install
run: composer install
- name: Yarn & Yarn Encore
run: yarn && yarn encore production
- name: Run PHPUnit WebTests
run: composer web-tests
- name: Run Behat tests
run: composer behat