Update action.yml
This commit is contained in:
+2
-9
@@ -143,15 +143,6 @@ runs:
|
||||
# if: failure()
|
||||
# cat outputs/custom-shell.log
|
||||
|
||||
- name: Start DBus session
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get install -y dbus
|
||||
echo "Starting DBus..."
|
||||
export $(dbus-launch)
|
||||
echo "DBus address: $DBUS_SESSION_BUS_ADDRESS" >> $GITHUB_ENV
|
||||
echo "DBus PID: $DBUS_SESSION_BUS_PID" >> $GITHUB_ENV
|
||||
|
||||
- name: Run tests and generate reports
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -168,6 +159,8 @@ runs:
|
||||
--json-report-file=markdown/pytest-report.json \
|
||||
--capture=no"
|
||||
|
||||
echo "DBus is active at: $DBUS_SESSION_BUS_ADDRESS"
|
||||
|
||||
if [ -n "${{ inputs.test-files }}" ]; then
|
||||
TEST_PATH="${{ inputs.test-files }}"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user