File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change 11name : ' Test Selenium IDE'
22
33on :
4+ workflow_dispatch :
45 pull_request :
56 branches :
67 - trunk
@@ -19,26 +20,35 @@ jobs:
1920 repository-projects : read
2021 security-events : read
2122 statuses : read
22- runs-on : ubuntu-latest
23+ strategy :
24+ matrix :
25+ include :
26+ - os : ubuntu-latest
27+ - os : windows-latest
28+ - os : macos-latest
29+ runs-on : ${{ matrix.os }}
2330 if : github.repository == 'seleniumhq/selenium-ide'
2431 steps :
25- - uses : actions/checkout@v4
32+ - name : Checkout code
33+ uses : actions/checkout@v4
2634 - uses : pnpm/action-setup@v2
2735 with :
28- version : 8.11.0
36+ version : ' latest '
2937 - uses : actions/setup-node@v3
3038 with :
31- node-version : ' 20.x '
39+ node-version : ' latest '
3240 cache : ' pnpm'
3341 - name : Install dependencies
3442 run : pnpm -r i
3543 - name : Build side-runner and selenium-ide
3644 run : npm run build
3745 - name : Install xvfb
38- run : sudo apt-get update -y && sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb
39- - name : Run all tests and also use xvfb
46+ if : matrix.os == 'ubuntu-latest'
4047 run : |
48+ sudo apt-get update -y && sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb
4149 Xvfb -ac :99 -screen 0 1280x1024x16 > /dev/null 2>&1 &
42- export DISPLAY=:99
50+ echo "DISPLAY=:99" >> $GITHUB_ENV
51+ - name : Run all tests
52+ run : |
4353 npm run test:ci
4454
You can’t perform that action at this time.
0 commit comments