-
Notifications
You must be signed in to change notification settings - Fork 103
62 lines (62 loc) · 1.56 KB
/
acceptance-test.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
name: "Acceptance Test"
on:
pull_request:
types: [labeled]
push:
branches:
- "dev/issue-1590-Upgrade-Ubuntu22.04"
jobs:
test:
name: "Test ${{ matrix.tag }} on ${{ matrix.browser }}"
runs-on: "ubuntu-22.04"
strategy:
fail-fast: false
matrix:
tag:
- "aip-encrypt"
- "aip-encrypt-mirror"
- "black-box"
- "icc"
- "ipc preservation"
- "ipc access"
- "metadata-xml"
- "tcc"
- "tpc"
- "uuids-dirs"
browser:
- "Firefox"
- "Chrome"
exclude:
- tag: "black-box"
browser: Firefox
steps:
- name: "Check out repository"
uses: "actions/checkout@v3"
with:
submodules: true
- name: "Create external volumes"
run: |
make -C hack/ create-volumes
- name: "Start MySQL"
run: |
docker compose up -d mysql
working-directory: ./hack
- name: "Build images"
run: |
make -C hack/ build
- name: "Start services"
run: |
docker compose up -d
env:
cluster.routing.allocation.disk.threshold_enabled: false
working-directory: ./hack
- name: "Bootstrap services"
run: |
make -C hack/ bootstrap
- name: "Restart services"
run: |
make -C hack/ restart-am-services
- name: "Run AMAUAT tag"
run: |
make -C hack/ test-at-behave TAGS="${{ matrix.tag }}" BROWSER=${{ matrix.browser }}