Skip to content

Commit

Permalink
Updating restassured to fix issues with newer JDKs.
Browse files Browse the repository at this point in the history
Starting the move to github actions
  • Loading branch information
stevewalton28 committed Mar 23, 2021
1 parent f9a4026 commit dd7f22f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,19 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 14
- name: Setup display for running Chrome
run: |
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 3
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16
google-chrome-stable --remote-debugging-port=9222 http://localhost &
chmod ugo+x scripts/publish-javadocs-to-github-pages.sh
chmod ugo+x scripts/get-bank-holiday-data-source-and-store-in-resources.sh
apt-get install firefox
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Run SonarQube
run: mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
- name: Get bank holidays
run: bash scripts/get-bank-holiday-data-source-and-store-in-resources.sh
File renamed without changes.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ before_script:
- sh -e /etc/init.d/xvfb start
- sleep 3
before_install:
- cp .travis.settings.xml $HOME/.m2/settings.xml
- cp .sample-mvn-.settings.xml $HOME/.m2/settings.xml
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile
--background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
- google-chrome-stable --remote-debugging-port=9222 http://localhost &
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<jacoco.maven.plugin.version>0.8.5</jacoco.maven.plugin.version>
<javadoc.maven.plugin.version>3.1.1</javadoc.maven.plugin.version>
<joda.time.version>2.7</joda.time.version>
<restassured.version>4.2.0</restassured.version>
<restassured.version>4.3.3</restassured.version>
<saucelabs.bindings>1.0.0</saucelabs.bindings>
<dropwizard.metrics.version>4.1.2</dropwizard.metrics.version>
<sonar.projectKey>digital-delivery-academy_selenium-pom-example</sonar.projectKey>
Expand Down

0 comments on commit dd7f22f

Please sign in to comment.