diff --git a/action.yml b/action.yml index 5c1ee66..b287147 100644 --- a/action.yml +++ b/action.yml @@ -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