Skip to content

Commit

Permalink
ci: update swazzler test repo
Browse files Browse the repository at this point in the history
  • Loading branch information
fractalwrench committed Dec 19, 2024
1 parent 5c732ce commit 94c2e07
Showing 1 changed file with 6 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,38 +44,29 @@ jobs:
with:
node-version: 20.x

# make sure version in gradle.properties matches the version of embrace-swazzler3 version
- name: "Publish SDK locally"
run: ./gradlew publishToMavenLocal --no-daemon

- name: Checkout Swazzler-Test
uses: actions/checkout@v4
with:
repository: embrace-io/swazzler-test
path: ./swazzler-test
submodules: recursive
token: ${{ secrets.GH_ANDROID_SDK_TOKEN || secrets.token }}

- name: Checkout Swazzler
uses: actions/checkout@v4
with:
repository: embrace-io/embrace-swazzler3
path: ./swazzler-test/embrace-swazzler3
path: ./embrace-swazzler3
token: ${{ secrets.GH_ANDROID_SDK_TOKEN }}

- name: "Publish Swazzler locally"
working-directory: ./swazzler-test/embrace-swazzler3
working-directory: ./embrace-swazzler3
run: ./gradlew publishToMavenLocal --no-daemon

- name: "Run Gradle Tests"
working-directory: ./swazzler-test
run: ./gradlew :functional-tests:swazzlerTests --tests "io.embrace.android.gradle.swazzler.tests.*" --stacktrace
working-directory: ./embrace-swazzler3
run: ./gradlew :embrace-gradle-plugin-functional-tests:test --tests "io.embrace.android.gradle.swazzler.tests.*" --stacktrace

- name: "Test Results"
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: swazzler-test-results
path: |
./swazzler-test/functional-tests/build/reports/tests/swazzlerTests/
./swazzler-test/functional-tests/swazzler_test_debug_output
./embrace-swazzler3/embrace-gradle-plugin-functional-tests/reports/tests/swazzlerTests/
./embrace-swazzler3/embrace-gradle-plugin-functional-tests/test_debug_output

0 comments on commit 94c2e07

Please sign in to comment.