Skip to content

Commit e37921a

Browse files
committed
Remove Docker setup for other runners than linux-latest
1 parent a419840 commit e37921a

File tree

1 file changed

+4
-25
lines changed

1 file changed

+4
-25
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,6 @@ jobs:
3838
/Applications/Firefox.app/Contents/MacOS/firefox --version
3939
brew install --cask microsoft-edge
4040
"/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
5441
- name: Run tests on Linux
5542
if: matrix.os == 'ubuntu-latest'
5643
uses: nick-invision/retry@v3.0.2
@@ -59,31 +46,23 @@ jobs:
5946
max_attempts: 3
6047
command: |
6148
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'
7251
uses: nick-invision/retry@v3.0.2
7352
with:
7453
timeout_minutes: 30
7554
max_attempts: 3
7655
command: |
7756
mvn -B test -Dtest=!Docker*
7857
- 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')
8059
run: >
8160
mvn -B sonar:sonar
8261
-Dsonar.host.url=https://sonarcloud.io
8362
-Dsonar.organization=bonigarcia-github
8463
-Dsonar.projectKey=io.github.bonigarcia:webdrivermanager
8564
- 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')
8766
uses: codecov/codecov-action@v5.4.2
8867
- name: Store recordings on Linux
8968
if: always() && matrix.os == 'ubuntu-latest'

0 commit comments

Comments
 (0)