Bump commons-io:commons-io from 2.11.0 to 2.14.0 #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: UI and API Tests | |
on: | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Remove Chrome | |
run: sudo apt purge google-chrome-stable | |
- name: Remove default Chromium | |
run: sudo apt purge chromium-browser | |
- name: Install Google Chrome # Using shell script to install Google Chrome | |
run: | | |
chmod +x ./.github/scripts/InstallChrome.sh | |
./.github/scripts/InstallChrome.sh | |
- name: Install Chrome Driver # Using shell script to install Chrome Driver | |
run: | | |
chmod +x ./.github/scripts/downloadDriver.sh | |
./.github/scripts/downloadDriver.sh "/wikipedia/src/test/resources/drivers" | |
- run: | | |
export DISPLAY=:99 | |
chromedriver --url-base=/wd/hub & | |
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional | |
- name: Test | |
run: mvn clean install -DactiveProfile=headless-github |