File tree Expand file tree Collapse file tree 2 files changed +19
-6
lines changed
src/test-project/.intellijPlatform Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,25 @@ jobs:
4444 cache : ' gradle'
4545 - name : Run integration tests
4646 run : |
47- export DISPLAY=:99.0
48- Xvfb -ac :99 -screen 0 1920x1080x24 &
49- cd src/test-project
50- chmod +x gradlew
51- ./gradlew clean integrationUITest --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.utils.* --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.mainidewindow.idestatusbar.*
47+ if [ "$RUNNER_OS" == "Linux" ]; then
48+ export DISPLAY=:99.0
49+ Xvfb -ac :99 -screen 0 1920x1080x24 &
50+ cd src/test-project
51+ chmod +x gradlew
52+ ./gradlew clean integrationUITest --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.utils.* --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.mainidewindow.idestatusbar.*
53+ elif [ "$RUNNER_OS" == "Windows" ]; then
54+ cd src\test-project
55+ chmod +x gradlew.bat
56+ .\gradlew.bat clean integrationUITest --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.utils.* --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.mainidewindow.mainidewindow.idestatusbar.*
57+ elif [ "$RUNNER_OS" == "macOS" ]; then
58+ cd src/test-project
59+ chmod +x gradlew
60+ ./gradlew clean integrationUITest --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.utils.* --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.mainidewindow.mainidewindow.idestatusbar.*
61+ else
62+ echo "$RUNNER_OS not supported"
63+ exit 1
64+ fi
65+ shell : bash
5266 - uses : actions/upload-artifact@v4
5367 with :
5468 name : ${{ matrix.os }}-mainidewindow.idestatusbar-test-reports
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments