Added edge to the CI build, #3401 (#3411)

This commit is contained in:
Florian Giroud 2020-12-16 09:51:18 +01:00 committed by GitHub
parent 2f08690600
commit 32b4787c76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,10 @@ jobs:
cypress_tests:
runs-on: ubuntu-latest
strategy:
matrix:
browser: ['edge', 'chrome']
steps:
- uses: actions/checkout@v2.3.4
@ -25,6 +29,16 @@ jobs:
with:
java-version: 8
- name: Install Edge
if: matrix.browser == 'edge'
run: |
sudo curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
sudo rm microsoft.gpg
sudo apt-get update
sudo apt-get install microsoft-edge-dev
- name: Build OpenRefine
run: ./refine build