File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
tests/org.eclipse.glsp.server.test/src/org/eclipse/glsp/server/features/sourcemodelwatcher Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - master
7
+ workflow_dispatch :
8
+
9
+ jobs :
10
+ build :
11
+ name : Build and Test
12
+ runs-on : ${{ matrix.os }}
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ os : [ubuntu-latest, macos-latest, windows-latest]
17
+ java-version : [17, 21]
18
+
19
+ steps :
20
+ - name : Setup Maven and Java
21
+ uses : s4u/setup-maven-action@2f53a7669c7543a045d0bb6c92436df0c5a726f8 # v1.14.0
22
+ with :
23
+ java-distribution : " temurin"
24
+ java-version : ${{ matrix.java-version }}
25
+ - name : Build (P2)
26
+ run : mvn clean verify -Pp2 -B -Dcheckstyle.skip -DskipTests
27
+ shell : bash
28
+ - name : Build & Test (M2)
29
+ run : mvn clean verify -Pm2 -B -Dcheckstyle.skip
30
+ shell : bash
31
+ - name : Test Summary
32
+ uses : test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4
33
+ with :
34
+ paths : " tests/**/surefire-reports/*.xml"
35
+ if : always()
36
+
Original file line number Diff line number Diff line change 46
46
import org .junit .jupiter .api .AfterEach ;
47
47
import org .junit .jupiter .api .BeforeEach ;
48
48
import org .junit .jupiter .api .Test ;
49
+ import org .junit .jupiter .api .condition .DisabledOnOs ;
50
+ import org .junit .jupiter .api .condition .OS ;
49
51
52
+ @ DisabledOnOs (OS .MAC )
50
53
class FileWatcherTest {
51
54
52
55
private static final String DIR = "fileWatcherTests" ;
You can’t perform that action at this time.
0 commit comments