From 5e62a060be96bd0c77e5fe0930742a9813a07031 Mon Sep 17 00:00:00 2001 From: Naomi Kirby Date: Thu, 12 Sep 2024 12:25:57 -0700 Subject: [PATCH] Update the github tests a bit --- .github/workflows/linux_tests.yaml | 7 ++----- .github/workflows/macos_tests.yaml | 4 +--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linux_tests.yaml b/.github/workflows/linux_tests.yaml index d3e01b23d1..f268322cd1 100644 --- a/.github/workflows/linux_tests.yaml +++ b/.github/workflows/linux_tests.yaml @@ -96,8 +96,7 @@ jobs: - name: Install test dependecies run: | sudo apt-get update - sudo apt-get install -y $(./scripts/linux/getdeps.py -r linux/debian/control) - sudo apt install --no-upgrade firefox xvfb -y + sudo apt-get install -y $(./scripts/linux/getdeps.py -r linux/debian/control) xvfb - uses: actions/setup-python@v5 with: @@ -107,7 +106,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: lts/iron cache: "npm" - run: npm install @@ -122,11 +121,9 @@ jobs: shell: bash env: TZ: Europe/London - HEADLESS: yes ARTIFACT_DIR: ${{ runner.temp }}/artifacts MVPN_BIN: ./build/mozillavpn run: | - export PATH=$GECKOWEBDRIVER:$(npm bin):$PATH mkdir -p $ARTIFACT_DIR xvfb-run -a npm run functionalTest -- --retries 3 ${{matrix.test.path}} diff --git a/.github/workflows/macos_tests.yaml b/.github/workflows/macos_tests.yaml index cd27a85b1b..96901148d8 100644 --- a/.github/workflows/macos_tests.yaml +++ b/.github/workflows/macos_tests.yaml @@ -111,7 +111,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: lts/iron cache: "npm" - run: npm install @@ -126,12 +126,10 @@ jobs: id: runTests env: TZ: Europe/London - HEADLESS: yes ARTIFACT_DIR: ${{ runner.temp }}/artifacts MVPN_ADDONS_PATH: ./build/addons MVPN_BIN: ./build/Mozilla VPN.app/Contents/MacOS/Mozilla VPN run: | - export PATH=$GECKOWEBDRIVER:$(npm bin):$PATH mkdir -p $ARTIFACT_DIR npm run functionalTest -- --retries 3 ${{ matrix.test.path }}