Skip to content

Commit

Permalink
Update build-and-test.yml
Browse files Browse the repository at this point in the history
Update workflow for upcoming feature/button merge
  • Loading branch information
tir38 authored Jul 22, 2024
1 parent a2b976e commit 66fe371
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,17 @@ jobs:
java-version: 11
distribution: 'zulu'

- name: Build
run: ./gradlew afterpay:build

- name: Lint
run: ./gradlew afterpay:lintDebug afterpay:ktlint
run: ./gradlew afterpay:lint afterpay:spotlessCheck

- name: Unit Tests
run: ./gradlew afterpay:testDebugUnitTest

build-example:
name: Build Example Project
name: Build Sample Project
runs-on: ubuntu-latest
steps:
- name: Clone Repository
Expand All @@ -39,5 +42,8 @@ jobs:
java-version: 11
distribution: 'zulu'

- name: Build and Lint
run: ./gradlew example:buildDebug example:lintDebug example:ktlint
- name: Build
run: ./gradlew sample:buildDebug

- name: Lint
run: ./gradlew sample:lintDebug sample:spotlessCheck

0 comments on commit 66fe371

Please sign in to comment.