Skip to content

Commit

Permalink
WIP 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Scullin committed Mar 27, 2024
1 parent 3011a63 commit 2441f98
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,17 @@ jobs:
npm ci --loglevel error
npm run build
npm run test
- name: Start dbus
run: |
sudo service dbus start
export XDG_RUNTIME_DIR=/tmp/xdg_runtime
mkdir $XDG_RUNTIME_DIR
chmod 700 $XDG_RUNTIME_DIR
chown $(id -un):$(id -gn) $XDG_RUNTIME_DIR
export DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/bus
dbus-daemon --session --address=$DBUS_SESSION_BUS_ADDRESS --nofork --nopidfile --syslog-only &
- name: Run integration test
uses: coactions/setup-xvfb@v1
with:
run: npm run integration
run: |
sudo service dbus start
export XDG_RUNTIME_DIR=/tmp/xdg_runtime
mkdir $XDG_RUNTIME_DIR
chmod 700 $XDG_RUNTIME_DIR
chown $(id -un):$(id -gn) $XDG_RUNTIME_DIR
export DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/bus
dbus-daemon --session --address=$DBUS_SESSION_BUS_ADDRESS --nofork --nopidfile --syslog-only &
npm run integration
env:
CI: true

0 comments on commit 2441f98

Please sign in to comment.