-
-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better use machine resources
- Loading branch information
Showing
4 changed files
with
33 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,17 @@ jobs: | |
fail-fast: false | ||
|
||
steps: | ||
- name: Setup DBUS environment | ||
if: matrix.os == 'ubuntu-latest' | ||
run: | | ||
export DISPLAY=:0 | ||
sudo apt install dbus-x11 | ||
machineId=$(cat /var/lib/dbus/machine-id) | ||
mkdir -p /home/runner/.dbus | ||
mkdir -p /home/runner/.dbus/session-bus/ | ||
touch /home/runner/.dbus/session-bus/${machineId}-0 | ||
sudo dbus-launch --exit-with-session --address=unix:/home/runner/.dbus/session-bus/${machineId}-0 & | ||
sleep 1 # Wait for the DBUS session to start | ||
- name: Set Timezone | ||
uses: szenius/[email protected] | ||
with: | ||
|
@@ -31,5 +42,6 @@ jobs: | |
- run: npx nyc --reporter=lcov npm test | ||
env: | ||
CI: true | ||
DISPLAY: ':0' | ||
- name: Codecov | ||
uses: codecov/codecov-action@v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
18.17.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters