Skip to content

Commit

Permalink
Update pull_request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alorma authored Jan 19, 2025
1 parent dbd7699 commit 89c2d9c
Showing 1 changed file with 8 additions and 26 deletions.
34 changes: 8 additions & 26 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: gmazzo/publish-report-annotations@v1.11.3
with:
reports: ${{ github.workspace }}/**/build/reports/detekt/*.xml
checkName: Detekt
checkName: Detekt - PR
token: ${{ github.token }}
workflowSummary: true
warningsAsErrors: false
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
uses: gmazzo/publish-report-annotations@v1.11.3
with:
reports: ${{ github.workspace }}/**/build/reports/ktlint/**/*.xml
checkName: Ktlint
checkName: Ktlint - PR
token: ${{ github.token }}
workflowSummary: true
warningsAsErrors: false
Expand Down Expand Up @@ -137,11 +137,11 @@ jobs:
strategy:
matrix:
config: [
{ target: android, module: androidApp , os: ubuntu-latest, tasks: assembleDebug, continueOnError: false },
{ target: iOS, module: iosApp , os: macos-latest, tasks: compileKotlinIosArm64, continueOnError: false },
{ target: js, module: jsApp , os: ubuntu-latest, tasks: jsBrowserDistribution, continueOnError: false },
{ target: wasm, module: wasmApp , os: ubuntu-latest, tasks: wasmJsBrowserDistribution, continueOnError: false },
{ target: desktop, module: desktopApp , os: ubuntu-latest, tasks: assemble, continueOnError: false }
{ target: android, module: androidApp , os: ubuntu-latest, tasks: assembleDebug },
{ target: iOS, module: iosApp , os: macos-latest, tasks: compileKotlinIosArm64 },
{ target: js, module: jsApp , os: ubuntu-latest, tasks: jsBrowserDistribution },
{ target: wasm, module: wasmApp , os: ubuntu-latest, tasks: wasmJsBrowserDistribution },
{ target: desktop, module: desktopApp , os: ubuntu-latest, tasks: assemble }
]
if: ${{ success() }}
needs: [ build-lib-ui ]
Expand All @@ -157,27 +157,9 @@ jobs:
java-version: 17

- name: Build sample ${{ matrix.config.target }} - PR
continue-on-error: ${{ matrix.config.continueOnError }}
continue-on-error: false
run: ./gradlew :samples:${{ matrix.config.module }}:${{ matrix.config.tasks }}

# verify-screenshots:
# name: Validate screenshots - PR
# if: ${{ success() }}
# needs: [ build-sample ]
# runs-on: ubuntu-latest
# steps:
# - name: Check out code
# uses: actions/checkout@v4
#
# - name: Set up JDK
# uses: actions/setup-java@v4
# with:
# distribution: adopt
# java-version: 17
#
# - name: Validate screenshots - PR
# run: ./gradlew validateScreenshotTest

check-sign:
name: Check signature - PR
if: ${{ success() }}
Expand Down

0 comments on commit 89c2d9c

Please sign in to comment.