Skip to content

Commit

Permalink
Updated github actions and smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Aug 6, 2023
1 parent 0a67f7a commit c5dea11
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 33 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- uses: actions/checkout@v2 # Update to v2
- name: Set up JDK 17
uses: actions/setup-java@v2 # Update to v2
with:
distribution: 'temurin' # 'temurin' distribution provides OpenJ9 builds of the OpenJDK
java-version: '17'

- name: Cache the Maven packages to speed up build
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Cache the Maven packages to speed up build
uses: actions/cache@v2 # Update to v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Unit and Integration Tests
uses: GabrielBB/xvfb-action@v1
with:
run: mvn clean verify
- name: Unit and Integration Tests
uses: GabrielBB/xvfb-action@v1
with:
run: mvn clean verify
11 changes: 6 additions & 5 deletions .github/workflows/smoketest_browserstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- uses: actions/checkout@v2 # Update to v2
- name: Set up JDK 17
uses: actions/setup-java@v2 # Update to v2
with:
distribution: 'temurin' # 'temurin' distribution provides OpenJ9 builds of the OpenJDK
java-version: '17'

- name: Cache the Maven packages to speed up build
uses: actions/cache@v1
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/smoketest_chrome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v2 # Update to v2
- name: Set up JDK 17
uses: actions/setup-java@v2 # Update to v2
with:
java-version: 1.8
distribution: 'temurin' # 'temurin' distribution provides OpenJ9 builds of the OpenJDK
java-version: '17'

- name: Cache the Maven packages to speed up build
uses: actions/cache@v1
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/smoketest_firefox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v2 # Update to v2
- name: Set up JDK 17
uses: actions/setup-java@v2 # Update to v2
with:
java-version: 1.8
distribution: 'temurin' # 'temurin' distribution provides OpenJ9 builds of the OpenJDK
java-version: '17'

- name: Cache the Maven packages to speed up build
uses: actions/cache@v1
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/smoketest_saucelabs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v2 # Update to v2
- name: Set up JDK 17
uses: actions/setup-java@v2 # Update to v2
with:
java-version: 1.8
distribution: 'temurin' # 'temurin' distribution provides OpenJ9 builds of the OpenJDK
java-version: '17'

- name: Cache the Maven packages to speed up build
uses: actions/cache@v1
Expand Down
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,15 @@
<source>11</source>
<excludePackageNames>net.thucydides.core.batches.*</excludePackageNames>
<failOnWarnings>false</failOnWarnings>
<excludePackageNames>io.netty.*</excludePackageNames>
<excludePackageNames>org.eclipse.*</excludePackageNames>
<excludePackageNames>io.cucumber.*</excludePackageNames>
<excludePackageNames>org.apache.*</excludePackageNames>
<excludePackageNames>org.assertj.*</excludePackageNames>
<excludePackageNames>org.seleniumhq.*</excludePackageNames>
<excludePackageNames>io.opentelemetry.*</excludePackageNames>
<excludePackageNames>com.google.*</excludePackageNames>
<excludePackageNames>org.checkerframework.*</excludePackageNames>
</configuration>
</plugin>
</plugins>
Expand Down
2 changes: 1 addition & 1 deletion serenity-smoketests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>serenity-bdd</artifactId>
<groupId>net.serenity-bdd</groupId>
<version>4.0.0-beta-1-SNAPSHOT</version>
<version>4.0.0-beta-2-SNAPSHOT</version>
</parent>
<artifactId>serenity-smoketests</artifactId>
<packaging>jar</packaging>
Expand Down

0 comments on commit c5dea11

Please sign in to comment.