Skip to content

Commit

Permalink
GH Workflow tests on Self-Hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdez99 committed Aug 22, 2024
1 parent 85413ae commit 4e7a05f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/CHANGE-PASSWORD-Smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,6 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.11
- name: Install Google Chrome
run: |
sudo yum clean all
sudo yum install -y wget
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
sudo yum localinstall -y google-chrome-stable_current_x86_64.rpm
- name: Download and install ChromeDriver
run: |
CHROME_MAIN_VERSION=$(google-chrome-stable --version | sed 's/Google Chrome //g' | sed 's/ .*//g' | cut -d'.' -f1)
DRIVER_VERSION=$(curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_MAIN_VERSION")
curl "https://chromedriver.storage.googleapis.com/$DRIVER_VERSION/chromedriver_linux64.zip" -O
unzip chromedriver_linux64.zip -d /usr/local/bin/
chmod +x /usr/local/bin/chromedriver
- name: Replace variables in cloudEnv.properties
run: |
sed -i "s/SIDE_DOOR_USERNAME/${{ secrets.SIDEDOORUSERNAME }}/g" src/main/resources/conf/cloudEnv.properties
Expand Down Expand Up @@ -66,8 +53,6 @@ jobs:
with:
name: cucumber-report-${{ github.run_number }}
path: target/changePassword-smoke-reports/*
- name: Remove Google Chrome installation file
run: rm google-chrome-stable_current_x86_64.rpm
- name: Push HTML Report
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down

0 comments on commit 4e7a05f

Please sign in to comment.