-
Notifications
You must be signed in to change notification settings - Fork 258
52 lines (41 loc) · 1.25 KB
/
test-c8run.yaml
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
name: "test c8run"
on:
push:
branches:
- "**"
jobs:
test_c8run:
name: Test deploying camunda platform on c8run
runs-on: ubuntu-latest
steps:
- name: disable and stop mono-xsp4.service
run: |
sudo systemctl stop mono-xsp4.service || true
sudo systemctl disable mono-xsp4.service || true
sudo killall mono || true
sudo killall xsp4 || true
- uses: actions/checkout@v4
- name: Run c8run
run: nohup ./start.sh
working-directory: ./c8run
env:
JAVA_HOME: /usr/lib/jvm/temurin-21-jdk-amd64
- name: Sleep 2 mins
run: sleep 120
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm ci
working-directory: ./c8run/e2e_tests
- name: Install Playwright Browsers
run: npx playwright install --with-deps
working-directory: ./c8run/e2e_tests
- name: Run Playwright tests
run: npx playwright test
working-directory: ./c8run/e2e_tests
- uses: actions/upload-artifact@v4
with:
name: playwright-report
path: ./c8run/e2e_tests/playwright-report
retention-days: 30