Skip to content

Commit

Permalink
Merge pull request #55 from amzn/rwo/mac-os
Browse files Browse the repository at this point in the history
Mostly use MacOS and not Linux in CI
  • Loading branch information
vRallev authored Oct 24, 2024
2 parents 2366957 + 95cccc0 commit e48f440
Showing 1 changed file with 4 additions and 26 deletions.
30 changes: 4 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,7 @@ on:
pull_request:

jobs:
test-ubuntu:
runs-on: ubuntu-latest
timeout-minutes: 25

steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
- uses: gradle/actions/setup-gradle@v4

- name: Test on Ubuntu
run: ./gradlew assemble test --stacktrace --show-version --continue

- name: Upload Test Results
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: test-results
path: ./**/build/reports/tests/

test-mac:
test:
runs-on: macos-latest
timeout-minutes: 25

Expand All @@ -54,7 +32,7 @@ jobs:
path: ./**/build/reports/tests/

binary-compatibility-check:
runs-on: ubuntu-latest
runs-on: macos-latest
timeout-minutes: 25

steps:
Expand All @@ -69,7 +47,7 @@ jobs:
run: ./gradlew apiCheck --stacktrace --show-version --continue

ktlint:
runs-on: ubuntu-latest
runs-on: macos-latest
timeout-minutes: 25

steps:
Expand Down Expand Up @@ -121,7 +99,7 @@ jobs:
run: ./gradlew detekt --stacktrace --show-version --continue

publish-maven-local:
runs-on: ubuntu-latest
runs-on: macos-latest
timeout-minutes: 25

steps:
Expand Down

0 comments on commit e48f440

Please sign in to comment.