Skip to content

Commit

Permalink
wip! dbus
Browse files Browse the repository at this point in the history
  • Loading branch information
tsibley committed May 25, 2023
1 parent 91c5f1c commit e638cdd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/actions/setup-integration-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ runs:
# I'd rather test against that.
# -trs, 6 Jan 2023
- if: runner.os == 'Linux'
shell: bash -l -eo pipefail {0}
shell: bash -l -eo pipefail -x {0}
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
Expand All @@ -96,6 +96,13 @@ runs:
sudo dpkg -i singularity.deb
singularity --version
# Set up a lingering DBus service (required for Singularity's usage of
# cgroups v2).
sudo loginctl enable-linger "$USER"
systemctl --user enable --now dbus.socket
echo "XDG_RUNTIME_DIR=/run/user/$(id -u)" | tee -a "$GITHUB_ENV"
echo "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus" | tee -a "$GITHUB_ENV"
# Clone the small build we'll use as an integration test case.
- run: git clone https://github.com/nextstrain/zika-tutorial
shell: bash -l -eo pipefail {0}

0 comments on commit e638cdd

Please sign in to comment.