Konstantinos Kaloutas 2 سال پیش
والد
کامیت
478c21cb92
2فایلهای تغییر یافته به همراه6 افزوده شده و 10 حذف شده
  1. 3 5
      .github/workflows/build.yml
  2. 3 5
      .github/workflows/e2e.yml

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

@@ -182,16 +182,14 @@ jobs:
       - name: Ensure static yarn.lock is up to date
         run: git diff --exit-code static/yarn.lock
 
-      - name: Install fluxbox
+      - name: Install Fluxbox
         run: sudo apt-get update && sudo apt-get install -y fluxbox
 
-      - name: Run Xvfb
+      - name: Run Xvfb and Fluxbox
         run: |
           Xvfb :1 -screen 0 1024x768x24 >/dev/null 2>&1 &
           export DISPLAY=:1.0
-
-      - name: Run fluxbox
-        run: DISPLAY=:1.0 fluxbox >/dev/null 2>&1
+          fluxbox >/dev/null 2>&1
 
       - name: Run Playwright test - 1/2
         run: DISPLAY=:1.0 npx playwright test --reporter github --shard=1/2

+ 3 - 5
.github/workflows/e2e.yml

@@ -137,16 +137,14 @@ jobs:
       - name: Ensure static yarn.lock is up to date
         run: git diff --exit-code static/yarn.lock
 
-      - name: Install fluxbox
+      - name: Install Fluxbox
         run: sudo apt-get update && sudo apt-get install -y fluxbox
 
-      - name: Run Xvfb
+      - name: Run Xvfb and Fluxbox
         run: |
           Xvfb :1 -screen 0 1024x768x24 >/dev/null 2>&1 &
           export DISPLAY=:1.0
-
-      - name: Run fluxbox
-        run: DISPLAY=:1.0 fluxbox >/dev/null 2>&1
+          fluxbox >/dev/null 2>&1
 
       - name: Run Playwright test
         run: DISPLAY=:1.0 npx playwright test --reporter github --shard=${{ matrix.shard }}/3