diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb80ca90..d0637a15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 }} diff --git a/enro-test/build.gradle b/enro-test/build.gradle index c8a096c2..b7fc450f 100644 --- a/enro-test/build.gradle +++ b/enro-test/build.gradle @@ -22,4 +22,7 @@ dependencies { afterEvaluate { tasks.findByName("preReleaseBuild") .dependsOn(":enro-core:publishToMavenLocal") + + tasks.findByName("preReleaseBuild") + .dependsOn(":enro-viewmodel:publishToMavenLocal") } \ No newline at end of file