Skip to content

Commit 7e8a342

Browse files
committed
Test Firefox on Ubuntu 22.04
1 parent 4d76eaf commit 7e8a342

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Ubuntu 22 Firefox Test
2+
on:
3+
push:
4+
pull_request:
5+
types: [assigned, opened, synchronize, reopened, edited]
6+
workflow_dispatch:
7+
inputs:
8+
ref:
9+
description: Branch/tag/hash to use (defaults to master)
10+
required: false
11+
default: release-1.x
12+
13+
jobs:
14+
log-params:
15+
name: Log Params
16+
runs-on: ubuntu-22.04
17+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
18+
steps:
19+
- run: echo "Github event inputs [${{ toJson(github.event.inputs) }}]."
20+
- run: echo "Head commit message [${{ github.event.head_commit.message }}]."
21+
# check path to bundled Maven executable; it should be then used in ATLAS_MVN
22+
- run: mvn -version
23+
24+
integration-tests-confluence:
25+
name: Confluence IT
26+
runs-on: ubuntu-22.04
27+
timeout-minutes: 30
28+
strategy:
29+
matrix:
30+
# every version part should be 0 <= <version> <= 255; otherwise Confluence fails to start
31+
java-version: [17]
32+
confluence-version: [8.9.3]
33+
fail-fast: false
34+
steps:
35+
- uses: actions/checkout@v4
36+
with:
37+
ref: ${{ github.event.inputs.ref }}
38+
- uses: actions/setup-java@v4
39+
with:
40+
java-version: ${{ matrix.java-version }}
41+
distribution: adopt
42+
- run: bin/build/install-plugin-sdk.sh
43+
- run: bin/build/override-plugin-sdk-maven.sh
44+
- run: bin/build/install-int-test-libs.sh
45+
- uses: actions/cache@v4
46+
with:
47+
path: ~/.m2/repository
48+
key: maven-unit
49+
- uses: actions/cache@v4
50+
with:
51+
path: ~/.m2/repository/com/atlassian/confluence
52+
key: maven-integration-confluence-${{ matrix.confluence-version }}
53+
- run: bin/build/install-common-modules.sh
54+
- run: VERSION=${{ matrix.confluence-version }} bin/build/run-confluence-its.sh
55+
- uses: actions/upload-artifact@v4
56+
if: failure()
57+
with:
58+
name: webdriver-screenshots-confluence-${{ matrix.confluence-version }}-java-${{ matrix.java-version }}
59+
path: confluence-slack-server-integration-plugin/target/webdriverTests/**

0 commit comments

Comments
 (0)