Skip to content

Commit

Permalink
fix: create local.properties file on github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxzero committed Oct 3, 2023
1 parent a547b9b commit bbbb01b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
distribution: 'zulu'
java-version: '17'
- name: Build project
run: ./gradlew sdk:build -x test
run: |
touch local.properties
./gradlew sdk:build -x test
unit-test:
name: Unit test
Expand All @@ -36,6 +38,7 @@ jobs:

- name: Run unit tests
run: |
touch local.properties
./gradlew sdk:testProductionDebugUnitTest
- name: Upload test report
Expand Down Expand Up @@ -94,7 +97,9 @@ jobs:
force-avd-creation: false
profile: Nexus 6
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
script: ./gradlew sdk:connectedProductionDebugAndroidTest
script: |
touch local.properties
./gradlew sdk:connectedProductionDebugAndroidTest
- name: Upload test report
if: always()
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,6 @@ jobs:
force-avd-creation: false
profile: Nexus 6
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
script: ./gradlew sdk:jacocoTestReport sdk:sonar
script: |
touch local.properties
./gradlew sdk:jacocoTestReport sdk:sonar
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include ':app', ':sdk', ':testsupport', ':3DS-ANDROID-SDK:threeds', ':bankapp', ':threeds-sdk'
include ':app', ':sdk', ':testsupport', ':3DS-ANDROID-SDK:threeds', ':bankapp', ':3ds-sdk'

0 comments on commit bbbb01b

Please sign in to comment.