diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f107572..10339e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,6 @@ jobs: - name: Run clippy check run: cargo clippy - name: Install geckodriver and start - run: | - sudo apt-get update - sudo apt-get install firefox - geckodriver & + run: ./ci/ubuntu-latest-firefox.sh - name: Run tests run: cargo test diff --git a/ci/ubuntu-latest-firefox.sh b/ci/ubuntu-latest-firefox.sh new file mode 100644 index 0000000..394c1ce --- /dev/null +++ b/ci/ubuntu-latest-firefox.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +sudo apt-get update +sudo apt-get install firefox +geckodriver &