diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index 8f8184753cc..a7a66fb6342 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -14,6 +14,26 @@ jobs: name: Build the SDK runs-on: ubuntu-latest steps: + - run: sudo apt update + - run: sudo apt install wget + - name: google-chrome install + id: chrome_install + run: | + set -xv # echo command as they are executed + #DOWNLOAD_DIR="$(mktemp -d --tmpdir=${{ runner.temp }})" + #wget --no-verbose https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb --output-document="$DOWNLOAD_DIR/google-chrome-stable_current_amd64.deb" + #sudo dpkg -i "$DOWNLOAD_DIR/google-chrome-stable_current_amd64.deb" + #sudo apt-get install -f + echo "Installed $(google-chrome --version)" >> "$GITHUB_STEP_SUMMARY" + chrome_version=$((google-chrome --version | awk '{ print $3 }')) + echo "chrome_version=$chrome_version" >> "$GITHUB_OUTPUT" + - name: chromedriver install + run: | + set -xv # echo command as they are executed + CHROMEDRIVER_DIR="$(mktemp -d --tmpdir=${{ runner.temp }})" + wget --no-verbose https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/${{ steps.chrome_install.outputs.chrome_version }}/linux64/chromedriver-linux64.zip --output-document="$CHROMEDRIVER_DIR/chromedriver-linux64.zip" + echo "CHROMEDRIVER_FILEPATH=$CHROMEDRIVER_DIR/chromedriver-linux64.zip" >> "$GITHUB_ENV" + - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: