Skip to content

Commit dd7f22f

Browse files
committed
Updating restassured to fix issues with newer JDKs.
Starting the move to github actions
1 parent f9a4026 commit dd7f22f

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

.github/workflows/maven.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,19 @@ jobs:
2020
uses: actions/setup-java@v1
2121
with:
2222
java-version: 14
23+
- name: Setup display for running Chrome
24+
run: |
25+
export DISPLAY=:99.0
26+
sh -e /etc/init.d/xvfb start
27+
sleep 3
28+
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16
29+
google-chrome-stable --remote-debugging-port=9222 http://localhost &
30+
chmod ugo+x scripts/publish-javadocs-to-github-pages.sh
31+
chmod ugo+x scripts/get-bank-holiday-data-source-and-store-in-resources.sh
32+
apt-get install firefox
2333
- name: Build with Maven
2434
run: mvn -B package --file pom.xml
35+
- name: Run SonarQube
36+
run: mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
37+
- name: Get bank holidays
38+
run: bash scripts/get-bank-holiday-data-source-and-store-in-resources.sh
File renamed without changes.

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ before_script:
1212
- sh -e /etc/init.d/xvfb start
1313
- sleep 3
1414
before_install:
15-
- cp .travis.settings.xml $HOME/.m2/settings.xml
15+
- cp .sample-mvn-.settings.xml $HOME/.m2/settings.xml
1616
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile
1717
--background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
1818
- google-chrome-stable --remote-debugging-port=9222 http://localhost &

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
<jacoco.maven.plugin.version>0.8.5</jacoco.maven.plugin.version>
104104
<javadoc.maven.plugin.version>3.1.1</javadoc.maven.plugin.version>
105105
<joda.time.version>2.7</joda.time.version>
106-
<restassured.version>4.2.0</restassured.version>
106+
<restassured.version>4.3.3</restassured.version>
107107
<saucelabs.bindings>1.0.0</saucelabs.bindings>
108108
<dropwizard.metrics.version>4.1.2</dropwizard.metrics.version>
109109
<sonar.projectKey>digital-delivery-academy_selenium-pom-example</sonar.projectKey>

0 commit comments

Comments
 (0)