Skip to content

Commit

Permalink
Improve CI scripts; Run snapshot tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
luizgrp committed Jun 29, 2022
1 parent 03a9cc0 commit 79d9897
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,18 @@ jobs:
- name: Build
run: |
./gradlew --scan --stacktrace \
spotlessCheck \
assemble \
metalavaCheckCompatibility \
lintDebug
assemble
- name: Metalava compatibility
run: |
./gradlew --scan --stacktrace \
metalavaCheckCompatibility
- name: Code analysis
run: |
./gradlew --scan --stacktrace \
spotlessCheck \
lintDebug
- name: Unit Tests
run: |
Expand All @@ -56,11 +64,16 @@ jobs:
--run-affected \
--affected-base-ref=$BASE_REF
- name: Snapshot tests
run: |
./gradlew --scan --stacktrace \
verifyPaparazziDebug
- name: Upload test results
if: always()
uses: actions/upload-artifact@v2
with:
name: test-results-robolectric
name: build-results
path: |
**/build/test-results/*
**/build/reports/*
Expand Down

0 comments on commit 79d9897

Please sign in to comment.