-
Notifications
You must be signed in to change notification settings - Fork 77
55 lines (44 loc) · 1.39 KB
/
integration-test.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
53
54
55
name: Integration tests
on:
workflow_dispatch:
pull_request:
paths-ignore:
- "**/*.md"
env:
JAVA_VERSION: 22
jobs:
integration_test:
name: Run integration tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: "temurin"
cache: maven
cache-dependency-path: "tmail_integration_test/pom.xml"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build local image
uses: docker/build-push-action@v6
with:
load: true
tags: tmail-web:integration-test
- uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable
install-chromedriver: true
- uses: browser-actions/setup-firefox@v1
- uses: browser-actions/setup-geckodriver@latest
- name: Configure frontend
env:
FRONTEND_CONFIG: ${{ secrets.FRONTEND_CONFIG }}
FRONTEND_CREDS: ${{ secrets.FRONTEND_CREDS }}
run: ../scripts/setup-desktop-integration-tests.sh
working-directory: tmail_integration_test
- name: Run integration tests
run: ../scripts/run-desktop-integration-tests.sh
working-directory: tmail_integration_test