Skip to content

Commit

Permalink
Update new/more CI workflows with proper paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tresat committed Apr 24, 2024
1 parent 8575215 commit 8290a9c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
id: screenshotsrecord
if: steps.screenshotsverify.outcome == 'failure' && github.event_name == 'pull_request'
run: |
./gradlew recordRoborazziDemoDebug
./now-in-android/gradlew recordRoborazziDemoDebug -p now-in-android
- name: Push new screenshots if available
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down Expand Up @@ -183,6 +183,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'gradle/declarative-gradle'
ref: 'tt/declarative-no-conventions-nia'
path: 'declarative-gradle'

- name: Checkout Now in Android
Expand Down Expand Up @@ -216,12 +217,12 @@ jobs:
- name: Run local tests (including Roborazzi) for the combined coverage report (only API 30)
if: matrix.api-level == 30
# There is no need to verify Roborazzi tests to generate coverage.
run: ./gradlew testDemoDebugUnitTest -Proborazzi.test.verify=false # Add Prod if we ever add JVM tests for prod
run: ./now-in-android/gradlew testDemoDebugUnitTest -Proborazzi.test.verify=false -p now-in-android # Add Prod if we ever add JVM tests for prod

# Add `createProdDebugUnitTestCoverageReport` if we ever add JVM tests for prod
- name: Generate coverage reports for Debug variants (only API 30)
if: matrix.api-level == 30
run: ./gradlew createDemoDebugCombinedCoverageReport
run: ./now-in-android/gradlew createDemoDebugCombinedCoverageReport -p now-in-android

- name: Upload test reports
if: always()
Expand Down

0 comments on commit 8290a9c

Please sign in to comment.