-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (42 loc) · 1.17 KB
/
Copy pathci.yml
File metadata and controls
51 lines (42 loc) · 1.17 KB
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
name: CI
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "21"
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
- name: Fetch tags for jgitver
run: git fetch --force --tags
- name: Run unit tests
run: xvfb-run -a ./gradlew --no-daemon test
- name: Run critical interaction suites (stability check x3)
shell: bash
run: |
for run in 1 2 3; do
echo "Critical stability run ${run}/3"
xvfb-run -a ./gradlew --no-daemon :snapfx-core:test --rerun-tasks \
--tests org.snapfx.SnapFXTest \
--tests org.snapfx.floating.DockFloatingWindowTest \
--tests org.snapfx.dnd.DockDragServiceTest
done