Skip to content

Commit

Permalink
Update the github tests a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
oskirby committed Sep 12, 2024
1 parent 8dd526e commit 5e62a06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/linux_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -107,7 +106,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version: lts/iron
cache: "npm"
- run: npm install

Expand All @@ -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}}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/macos_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version: lts/iron
cache: "npm"
- run: npm install

Expand All @@ -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 }}
Expand Down

0 comments on commit 5e62a06

Please sign in to comment.