File tree Expand file tree Collapse file tree 7 files changed +342
-125
lines changed Expand file tree Collapse file tree 7 files changed +342
-125
lines changed Original file line number Diff line number Diff line change
1
+ name : Run DotNet examples
2
+
3
+ on :
4
+ schedule :
5
+ - cron : ' 35 22 * * *'
6
+ workflow_dispatch :
7
+ pull_request :
8
+ branches :
9
+ - trunk
10
+ paths :
11
+ - ' examples/dotnet/**'
12
+ push :
13
+ branches :
14
+ - trunk
15
+ paths :
16
+ - ' examples/dotnet/**'
17
+
18
+ env :
19
+ DISPLAY : :99
20
+ GITHUB_TOKEN : ${{ secrets.SELENIUM_CI_TOKEN }}
21
+ GH_TOKEN : ${{ secrets.SELENIUM_CI_TOKEN }}
22
+ EDGE_PATH : " C:\\ Program Files (x86)\\ Microsoft\\ Edge\\ Application\\ msedge.exe"
23
+
24
+ jobs :
25
+ test_examples :
26
+ strategy :
27
+ fail-fast : false
28
+ matrix :
29
+ os : [ ubuntu-latest, windows-latest, macos-latest ]
30
+ runs-on : ${{ matrix.os }}
31
+ steps :
32
+ - name : Checkout GitHub repo
33
+ uses : actions/checkout@v2
34
+ - name : Start Xvfb
35
+ if : matrix.os == 'ubuntu-latest'
36
+ run : Xvfb :99 &
37
+ - name : Set up .Net
38
+ uses : actions/setup-dotnet@v2
39
+ with :
40
+ dotnet-version : 5.0.x
41
+ - name : Install Chrome
42
+ uses : browser-actions/setup-chrome@latest
43
+ - name : Install Edge
44
+ uses : browser-actions/setup-edge@latest
45
+ - name : Install Firefox
46
+ uses : abhi1693/setup-browser@v0.3.4
47
+ with :
48
+ browser : firefox
49
+ version : latest
50
+ - name : Run tests
51
+ uses : nick-invision/retry@v2.7.1
52
+ with :
53
+ timeout_minutes : 20
54
+ max_attempts : 3
55
+ command : |
56
+ cd examples/dotnet/SeleniumDocs
57
+ dotnet test
Original file line number Diff line number Diff line change
1
+ name : Run Java examples
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ schedule :
6
+ - cron : ' 35 22 * * *'
7
+ pull_request :
8
+ branches :
9
+ - trunk
10
+ paths :
11
+ - ' examples/java/**'
12
+ push :
13
+ branches :
14
+ - trunk
15
+ paths :
16
+ - ' examples/java/**'
17
+
18
+ env :
19
+ DISPLAY : :99
20
+ GITHUB_TOKEN : ${{ secrets.SELENIUM_CI_TOKEN }}
21
+ GH_TOKEN : ${{ secrets.SELENIUM_CI_TOKEN }}
22
+ EDGE_PATH : " C:\\ Program Files (x86)\\ Microsoft\\ Edge\\ Application\\ msedge.exe"
23
+
24
+ jobs :
25
+ test_examples :
26
+ strategy :
27
+ fail-fast : false
28
+ matrix :
29
+ os : [ ubuntu-latest, windows-latest, macos-latest ]
30
+ runs-on : ${{ matrix.os }}
31
+ steps :
32
+ - name : Checkout GitHub repo
33
+ uses : actions/checkout@v2
34
+ - name : Start Xvfb
35
+ if : matrix.os == 'ubuntu-latest'
36
+ run : Xvfb :99 &
37
+ - name : Set up Java
38
+ uses : actions/setup-java@v2
39
+ with :
40
+ distribution : ' temurin'
41
+ java-version : 8
42
+ - name : Install Chrome
43
+ uses : browser-actions/setup-chrome@latest
44
+ - name : Install Edge
45
+ uses : browser-actions/setup-edge@latest
46
+ - name : Install Firefox
47
+ uses : abhi1693/setup-browser@v0.3.4
48
+ with :
49
+ browser : firefox
50
+ version : latest
51
+ - name : Run Tests
52
+ uses : nick-invision/retry@v2.7.1
53
+ with :
54
+ timeout_minutes : 20
55
+ max_attempts : 3
56
+ command : |
57
+ cd examples/java
58
+ mvn -B test
Original file line number Diff line number Diff line change
1
+ name : Run JavaScript examples
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ schedule :
6
+ - cron : ' 40 22 * * *'
7
+ pull_request :
8
+ branches :
9
+ - trunk
10
+ paths :
11
+ - ' examples/javascript/**'
12
+ push :
13
+ branches :
14
+ - trunk
15
+ paths :
16
+ - ' examples/javascript/**'
17
+
18
+ env :
19
+ DISPLAY : :99
20
+ GITHUB_TOKEN : ${{ secrets.SELENIUM_CI_TOKEN }}
21
+ GH_TOKEN : ${{ secrets.SELENIUM_CI_TOKEN }}
22
+ EDGE_PATH : " C:\\ Program Files (x86)\\ Microsoft\\ Edge\\ Application\\ msedge.exe"
23
+
24
+ jobs :
25
+ test_examples :
26
+ strategy :
27
+ fail-fast : false
28
+ matrix :
29
+ os : [ ubuntu-latest, windows-latest, macos-latest ]
30
+ runs-on : ${{ matrix.os }}
31
+ steps :
32
+ - name : Checkout GitHub repo
33
+ uses : actions/checkout@v2
34
+ - name : Start Xvfb
35
+ if : matrix.os == 'ubuntu-latest'
36
+ run : Xvfb :99 &
37
+ - name : Install Chrome
38
+ uses : browser-actions/setup-chrome@latest
39
+ - name : Install Edge
40
+ uses : browser-actions/setup-edge@latest
41
+ - name : Install Firefox
42
+ uses : abhi1693/setup-browser@v0.3.4
43
+ with :
44
+ browser : firefox
45
+ version : latest
46
+ - name : Run tests
47
+ uses : nick-invision/retry@v2.7.1
48
+ env :
49
+ SELENIUM_BROWSER : chrome
50
+ with :
51
+ timeout_minutes : 20
52
+ max_attempts : 3
53
+ command : |
54
+ cd examples/javascript
55
+ npm install
56
+ npm test
Original file line number Diff line number Diff line change
1
+ name : Run Kotlin examples
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ schedule :
6
+ - cron : ' 45 22 * * *'
7
+ pull_request :
8
+ branches :
9
+ - trunk
10
+ paths :
11
+ - ' examples/kotlin/**'
12
+ push :
13
+ branches :
14
+ - trunk
15
+ paths :
16
+ - ' examples/kotlin/**'
17
+
18
+ env :
19
+ DISPLAY : :99
20
+ GITHUB_TOKEN : ${{ secrets.SELENIUM_CI_TOKEN }}
21
+ GH_TOKEN : ${{ secrets.SELENIUM_CI_TOKEN }}
22
+ EDGE_PATH : " C:\\ Program Files (x86)\\ Microsoft\\ Edge\\ Application\\ msedge.exe"
23
+
24
+ jobs :
25
+ test_examples :
26
+ strategy :
27
+ fail-fast : false
28
+ matrix :
29
+ os : [ ubuntu-latest, windows-latest, macos-latest ]
30
+ runs-on : ${{ matrix.os }}
31
+ steps :
32
+ - name : Checkout GitHub repo
33
+ uses : actions/checkout@v2
34
+ - name : Start Xvfb
35
+ if : matrix.os == 'ubuntu-latest'
36
+ run : Xvfb :99 &
37
+ - name : Set up Java
38
+ uses : actions/setup-java@v2
39
+ with :
40
+ distribution : ' temurin'
41
+ java-version : 8
42
+ - name : Install Chrome
43
+ uses : browser-actions/setup-chrome@latest
44
+ - name : Install Edge
45
+ uses : browser-actions/setup-edge@latest
46
+ - name : Install Firefox
47
+ uses : abhi1693/setup-browser@v0.3.4
48
+ with :
49
+ browser : firefox
50
+ version : latest
51
+ - name : Run tests
52
+ uses : nick-invision/retry@v2.7.1
53
+ with :
54
+ timeout_minutes : 20
55
+ max_attempts : 3
56
+ command : |
57
+ cd examples/kotlin
58
+ mvn -B test
Original file line number Diff line number Diff line change
1
+ name : Run Python examples
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ schedule :
6
+ - cron : ' 50 22 * * *'
7
+ pull_request :
8
+ branches :
9
+ - trunk
10
+ paths :
11
+ - ' examples/python/**'
12
+ push :
13
+ branches :
14
+ - trunk
15
+ paths :
16
+ - ' examples/python/**'
17
+
18
+ env :
19
+ DISPLAY : :99
20
+ GITHUB_TOKEN : ${{ secrets.SELENIUM_CI_TOKEN }}
21
+ GH_TOKEN : ${{ secrets.SELENIUM_CI_TOKEN }}
22
+ EDGE_PATH : " C:\\ Program Files (x86)\\ Microsoft\\ Edge\\ Application\\ msedge.exe"
23
+
24
+ jobs :
25
+ test_examples :
26
+ strategy :
27
+ fail-fast : false
28
+ matrix :
29
+ os : [ ubuntu-latest, windows-latest, macos-latest ]
30
+ runs-on : ${{ matrix.os }}
31
+ steps :
32
+ - name : Checkout GitHub repo
33
+ uses : actions/checkout@v2
34
+ - name : Start Xvfb
35
+ if : matrix.os == 'ubuntu-latest'
36
+ run : Xvfb :99 &
37
+ - name : Install Chrome
38
+ uses : browser-actions/setup-chrome@latest
39
+ - name : Install Edge
40
+ uses : browser-actions/setup-edge@latest
41
+ - name : Install Firefox
42
+ uses : abhi1693/setup-browser@v0.3.4
43
+ with :
44
+ browser : firefox
45
+ version : latest
46
+ - name : Run tests
47
+ uses : nick-invision/retry@v2.7.1
48
+ with :
49
+ timeout_minutes : 20
50
+ max_attempts : 3
51
+ command : |
52
+ cd examples/python
53
+ pip3 install -r requirements.txt
54
+ pytest
Original file line number Diff line number Diff line change
1
+ name : Run Ruby examples
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ schedule :
6
+ - cron : ' 55 22 * * *'
7
+ pull_request :
8
+ branches :
9
+ - trunk
10
+ paths :
11
+ - ' examples/ruby/**'
12
+ push :
13
+ branches :
14
+ - trunk
15
+ paths :
16
+ - ' examples/ruby/**'
17
+
18
+ env :
19
+ DISPLAY : :99
20
+ GITHUB_TOKEN : ${{ secrets.SELENIUM_CI_TOKEN }}
21
+ GH_TOKEN : ${{ secrets.SELENIUM_CI_TOKEN }}
22
+ EDGE_PATH : " C:\\ Program Files (x86)\\ Microsoft\\ Edge\\ Application\\ msedge.exe"
23
+
24
+ jobs :
25
+ test_examples :
26
+ strategy :
27
+ fail-fast : false
28
+ matrix :
29
+ os : [ ubuntu-latest, windows-latest, macos-latest ]
30
+ runs-on : ${{ matrix.os }}
31
+ steps :
32
+ - name : Checkout GitHub repo
33
+ uses : actions/checkout@v2
34
+ - name : Start Xvfb
35
+ if : matrix.os == 'ubuntu-latest'
36
+ run : Xvfb :99 &
37
+ - name : Set up Ruby
38
+ uses : ruby/setup-ruby@v1
39
+ with :
40
+ ruby-version : 2.7
41
+ bundler-cache : true
42
+ - name : Install Chrome
43
+ uses : browser-actions/setup-chrome@latest
44
+ - name : Install Edge
45
+ uses : browser-actions/setup-edge@latest
46
+ - name : Install Firefox
47
+ uses : abhi1693/setup-browser@v0.3.4
48
+ with :
49
+ browser : firefox
50
+ version : latest
51
+ - name : Run tests
52
+ uses : nick-invision/retry@v2.7.1
53
+ with :
54
+ timeout_minutes : 20
55
+ max_attempts : 3
56
+ command : |
57
+ cd examples/ruby
58
+ bundle install
59
+ bundle exec rspec
You can’t perform that action at this time.
0 commit comments