diff --git a/.github/actions/run_tests/action.yml b/.github/actions/run_tests/action.yml index e46bc26945..035a8b0d45 100644 --- a/.github/actions/run_tests/action.yml +++ b/.github/actions/run_tests/action.yml @@ -20,4 +20,6 @@ runs: - name: Run tests shell: bash -euxo pipefail {0} - run: cargo nextest run --workspace --no-fail-fast + run: | + export DISPLAY=:99 + cargo nextest run --workspace --no-fail-fast diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49929759f8..8816c39c05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -299,9 +299,7 @@ jobs: run: ./script/clippy - name: Run tests - uses: | - export DISPLAY=:99 - ./.github/actions/run_tests + uses: ./.github/actions/run_tests - name: Build other binaries and features run: |