38
38
/Applications/Firefox.app/Contents/MacOS/firefox --version
39
39
brew install --cask microsoft-edge
40
40
"/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge" -version
41
- - name : Install Podman with QEMU in macOS
42
- if : matrix.os == 'macos-latest'
43
- run : |
44
- brew install --cask podman-desktop
45
- /Applications/Podman\ Desktop.app/Contents/Resources/podman-desktop podman machine start
46
- echo 'export PATH="$PATH:/Applications/Podman Desktop.app/Contents/Resources/podman-desktop/bin"' >> $GITHUB_ENV
47
- ln -s /Applications/Podman\ Desktop.app/Contents/Resources/podman-desktop/bin/podman /usr/local/bin/docker
48
- docker --version
49
- - name : Set up Docker in macOS
50
- if : matrix.os == 'macos-latest'
51
- uses : docker/setup-buildx-action@v3
52
- - name : Test Docker
53
- run : docker run --rm hello-world
54
41
- name : Run tests on Linux
55
42
if : matrix.os == 'ubuntu-latest'
56
43
uses : nick-invision/retry@v3.0.2
@@ -59,31 +46,23 @@ jobs:
59
46
max_attempts : 3
60
47
command : |
61
48
mvn -B test
62
- - name : Run tests on macOS
63
- if : matrix.os == 'macos-latest'
64
- uses : nick-invision/retry@v3.0.2
65
- with :
66
- timeout_minutes : 30
67
- max_attempts : 3
68
- command : |
69
- mvn -B test -Dtest=!Docker*
70
- - name : Run tests on Windows
71
- if : matrix.os == 'windows-latest'
49
+ - name : Run tests on Windows and macOS
50
+ if : matrix.os != 'macos-latest'
72
51
uses : nick-invision/retry@v3.0.2
73
52
with :
74
53
timeout_minutes : 30
75
54
max_attempts : 3
76
55
command : |
77
56
mvn -B test -Dtest=!Docker*
78
57
- name : Upload analysis to SonarCloud
79
- if : success() && matrix.os == 'ubuntu-latest' && matrix.java == '17' && !contains(github.ref, 'pull')
58
+ if : success() && matrix.os == 'ubuntu-latest' && !contains(github.ref, 'pull')
80
59
run : >
81
60
mvn -B sonar:sonar
82
61
-Dsonar.host.url=https://sonarcloud.io
83
62
-Dsonar.organization=bonigarcia-github
84
63
-Dsonar.projectKey=io.github.bonigarcia:webdrivermanager
85
64
- name : Upload coverage to Codecov
86
- if : success() && matrix.os == 'ubuntu-latest' && matrix.java == '17' && !contains(github.ref, 'pull')
65
+ if : success() && matrix.os == 'ubuntu-latest' && !contains(github.ref, 'pull')
87
66
uses : codecov/codecov-action@v5.4.2
88
67
- name : Store recordings on Linux
89
68
if : always() && matrix.os == 'ubuntu-latest'
0 commit comments