Skip to content

Commit

Permalink
try all. known that linux runs but fails due to electron upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
jgresham committed Dec 11, 2023
1 parent 49a9d46 commit 813a442
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e-test-mac.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: e2e-tests-mac

on:
# push:
# branches:
# - tests/webdriver-app-open
push:
branches:
- tests/webdriver-app-open
pull_request:

jobs:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/e2e-test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
npm run package -- --linux --dir
ls -al
ls -al /home/runner/work/nice-node/nice-node/release/build/
ls -al /home/runner/work/nice-node/nice-node/release/build/linux-unpacked
ls -al /home/runner/work/nice-node/nice-node/release/build/linux-unpacked/
ls -al ./release/build/linux-unpacked/
- name: 🧪 Run Tests
uses: coactions/setup-xvfb@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e-test-windows.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: e2e-tests-windows

on:
# push:
# branches:
# - tests/webdriver-app-open
push:
branches:
- tests/webdriver-app-open
pull_request:

jobs:
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,12 @@
},
"linux": {
"target": [
"dir"
"deb",
"AppImage",
"rpm",
"pacman",
"dir",
"zip"
],
"synopsis": "Run a node at home, the easy way.",
"description": "By running a node you become part of a global movement to decentralize a world of information. Prevent leaking your personal data to third party nodes. Ensure access when you need it, and don't be censored. Decentralization starts with you. Voice your choice, help your peers.",
Expand Down
4 changes: 3 additions & 1 deletion wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ export const config: Options.Testrunner = {
// custom application args
appArgs: [],
appBinaryPath:
'/home/runner/work/nice-node/nice-node/release/build/linux-unpacked/nice-node',
process.platform === 'linux'
? './release/build/linux-unpacked/nice-node'
: undefined,
},
},
],
Expand Down

0 comments on commit 813a442

Please sign in to comment.