Skip to content

Commit 158b3d4

Browse files
committed
Nightly in Selenium Java
1 parent fc1f1b5 commit 158b3d4

File tree

3 files changed

+14
-19
lines changed

3 files changed

+14
-19
lines changed

.github/workflows/java-examples.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,21 @@ jobs:
4848
with:
4949
distribution: 'temurin'
5050
java-version: 11
51-
- name: Run Tests
51+
- name: Run Tests Nightly
52+
if: matrix.release == 'stable'
5253
uses: nick-invision/[email protected]
5354
with:
5455
timeout_minutes: 20
5556
max_attempts: 3
5657
command: |
5758
cd examples/java
5859
mvn -B test
60+
- name: Run Tests Nightly
61+
if: matrix.release == 'nightly'
62+
uses: nick-invision/[email protected]
63+
with:
64+
timeout_minutes: 20
65+
max_attempts: 3
66+
command: |
67+
cd examples/java
68+
mvn -B -U test -Dselenium.version=4.20-SNAPSHOT

examples/java/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<maven.compiler.source>11</maven.compiler.source>
1414
<maven.compiler.target>11</maven.compiler.target>
1515
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16+
<selenium.version>4.19.1</selenium.version>
1617
</properties>
1718

1819
<repositories>
@@ -29,12 +30,12 @@
2930
<dependency>
3031
<groupId>org.seleniumhq.selenium</groupId>
3132
<artifactId>selenium-java</artifactId>
32-
<version>4.19.1</version>
33+
<version>${selenium.version}</version>
3334
</dependency>
3435
<dependency>
3536
<groupId>org.seleniumhq.selenium</groupId>
3637
<artifactId>selenium-grid</artifactId>
37-
<version>4.19.1</version>
38+
<version>${selenium.version}</version>
3839
</dependency>
3940
<dependency>
4041
<groupId>org.junit.jupiter</groupId>

examples/javascript/package.nightly.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)