Run E2E tests in Firefox ESR too

This commit is contained in:
Oliver Blanthorn 2020-06-21 13:25:57 +01:00
parent 793205641b
commit 5e23f6af52
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -15,7 +15,10 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
browser: [firefox]
browser: [firefox, firefoxesr]
exclude:
- os: macos
browser: firefoxesr
runs-on: ${{ matrix.os }}-latest
@ -44,6 +47,12 @@ jobs:
sudo yarn global add get-firefox
get-firefox --platform linux --branch devedition --extract --target $HOME
echo "::add-path::$HOME/firefox"
- name: Install Firefox ESR (Linux)
if: matrix.browser == 'firefoxesr' && matrix.os == 'ubuntu'
run: |
sudo yarn global add get-firefox
get-firefox --platform linux --branch esr --extract --target $HOME
echo "::add-path::$HOME/firefox"
- name: Install Firefox Dev Edition (MacOS)
if: matrix.browser == 'firefox' && matrix.os == 'macos'
run: |
@ -54,6 +63,11 @@ jobs:
run: |
choco install firefox-dev --pre
echo "::add-path::C:\Program Files\Firefox Dev Edition"
- name: Install Firefox ESR (Windows)
if: matrix.browser == 'firefoxesr' && matrix.os == 'windows'
run: |
choco install firefoxesr /InstallDir:"C:\Program Files\Firefox ESR"
echo "::add-path::C:\Program Files\Firefox ESR"
- name: Build and test (Firefox)
uses: nick-invision/retry@v1