Skip to content

Commit

Permalink
Re-enable UI testing on release CI, correctly depend on local publish…
Browse files Browse the repository at this point in the history
… of enro-viewmodel for enro-test
  • Loading branch information
isaac-udy committed Mar 16, 2021
1 parent aabcee7 commit bdb6125
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Run UI Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew :enro:connectedCheck

- name: Install gpg secret key
run: cat <(echo -e "${{ secrets.PUBLISH_SIGNING_KEY_LITERAL }}") | gpg --batch --import

Expand All @@ -27,12 +33,6 @@ jobs:
- name: Export gpg secret key
run: sudo gpg --export-secret-keys --pinentry-mode loopback --passphrase=${{ secrets.PUBLISH_SIGNING_KEY_PASSWORD }} ${{ secrets.PUBLISH_SIGNING_KEY_ID }} > ${{ secrets.PUBLISH_SIGNING_KEY_LOCATION }}

# - name: Run UI Tests
# uses: reactivecircus/android-emulator-runner@v2
# with:
# api-level: 29
# script: ./gradlew :enro:connectedCheck

- name: Update Version Name
run: ./gradlew updateVersion -PversionName=${{ github.event.inputs.versionname }}

Expand Down
3 changes: 3 additions & 0 deletions enro-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ dependencies {
afterEvaluate {
tasks.findByName("preReleaseBuild")
.dependsOn(":enro-core:publishToMavenLocal")

tasks.findByName("preReleaseBuild")
.dependsOn(":enro-viewmodel:publishToMavenLocal")
}

0 comments on commit bdb6125

Please sign in to comment.