Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run test on mac os #916

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/ci-gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

org.gradle.daemon=false
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx5120m
org.gradle.jvmargs=-Xmx5120m -XX:MaxMetaspaceSize=2g
org.gradle.workers.max=2

kotlin.incremental=false
kotlin.compiler.execution.strategy=in-process

# Controls KotlinOptions.allWarningsAsErrors. This is used in CI and can be set in local properties.
warningsAsErrors=true
warningsAsErrors=true
2 changes: 1 addition & 1 deletion .github/workflows/screenshot-comparison.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions: { }

jobs:
screenshot-comparison:
runs-on: ubuntu-latest
runs-on: macos-latest
timeout-minutes: 60

permissions:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions: { }

jobs:
unit-test:
runs-on: ubuntu-latest
runs-on: macos-latest
timeout-minutes: 60

permissions:
Expand All @@ -33,7 +33,9 @@ jobs:
name: event-payload
path: ${{ github.event_path }}

- run: ./gradlew testDevDebugUnitTest testDebugUnitTest --stacktrace
- run: |
ulimit -c unlimited
./gradlew testDevDebugUnitTest testDebugUnitTest --stacktrace || cat /Users/runner/work/conference-app-2024/conference-app-2024/feature/sessions/*.log /cores/core*

# Saving cost
# - run: ./gradlew koverHtmlReportDevDebug --stacktrace
Expand Down
Loading