Skip to content

Commit 8f7bf78

Browse files
author
Maxime GRIS
committed
Merge branch 'test/action-xvfb-ubuntu'
2 parents e8f36a3 + 60b591b commit 8f7bf78

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/ubuntu.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
node-version: [12.x, 14.x, 15.x]
2323

2424
# The type of runner that the job will run on
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-18.04
2626

2727
steps:
2828
- uses: actions/checkout@v2
@@ -44,13 +44,20 @@ jobs:
4444
uses: actions/setup-node@v1
4545
with:
4646
node-version: ${{ matrix.node-version }}
47-
4847
- name: Install Dependencies
4948
run: npm i
50-
5149
- name: Check lint
5250
run: npm run lint
53-
5451
- name: Build the app
5552
run: npm run electron:build
5653

54+
- name: Run headless unit test
55+
uses: GabrielBB/xvfb-action@v1
56+
with:
57+
run: npm test
58+
59+
- name: Run headless e2e test
60+
uses: GabrielBB/xvfb-action@v1
61+
with:
62+
run: npm run e2e
63+

src/app/core/services/electron/electron.service.ts

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export class ElectronService {
3434
// it must be declared in dependencies of both package.json (in root and app folders)
3535
// If you want to use remote object in renderer process, please set enableRemoteModule to true in main.ts
3636
this.remote = window.require('@electron/remote');
37-
console.log('remote - globalShortcut', this.remote.globalShortcut);
3837
}
3938
}
4039
}

0 commit comments

Comments
 (0)