Konstantinos Kaloutas 2 лет назад
Родитель
Сommit
ba8c8d6f7b
2 измененных файлов с 5 добавлено и 5 удалено
  1. 3 3
      .github/workflows/build.yml
  2. 2 2
      .github/workflows/e2e.yml

+ 3 - 3
.github/workflows/build.yml

@@ -191,17 +191,17 @@ jobs:
           export DISPLAY=:1.0
 
       - name: Run fluxbox
-        run: fluxbox >/dev/null 2>&1
+        run: DISPLAY=:1.0 fluxbox >/dev/null 2>&1
 
       - name: Run Playwright test - 1/2
-        run: npx playwright test --reporter github --shard=1/2
+        run: DISPLAY=:1.0 npx playwright test --reporter github --shard=1/2
         env:
           LOGSEQ_CI: true
           DEBUG: "pw:api"
           RELEASE: true # skip dev only test
 
       - name: Run Playwright test - 2/2
-        run: npx playwright test --reporter github --shard=2/2
+        run: DISPLAY=:1.0 npx playwright test --reporter github --shard=2/2
         env:
           LOGSEQ_CI: true
           DEBUG: "pw:api"

+ 2 - 2
.github/workflows/e2e.yml

@@ -146,10 +146,10 @@ jobs:
           export DISPLAY=:1.0
 
       - name: Run fluxbox
-        run: fluxbox >/dev/null 2>&1
+        run: DISPLAY=:1.0 fluxbox >/dev/null 2>&1
 
       - name: Run Playwright test
-        run: npx playwright test --reporter github --shard=${{ matrix.shard }}/3
+        run: DISPLAY=:1.0 npx playwright test --reporter github --shard=${{ matrix.shard }}/3
         env:
           LOGSEQ_CI: true
           DEBUG: "pw:api"