Skip to content

Commit

Permalink
Merge pull request #1758 from embrace-io/update-gh-workflow
Browse files Browse the repository at this point in the history
Run full swazzler tests
  • Loading branch information
fractalwrench authored Dec 16, 2024
2 parents bba2fce + ba25529 commit f51105b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/swazzler-tests-subset.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Run subset of swazzler-tests"
name: "Run swazzler-tests"

on:
pull_request:
Expand All @@ -15,7 +15,7 @@ jobs:
runSwazzlerTests:
name: "Run Gradle Tests"
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 60
steps:
- uses: actions/checkout@v4

Expand All @@ -39,6 +39,11 @@ jobs:
if: steps.ndk-cache.outputs.cache-hit != 'true'
run: echo "y" | ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;27.0.12077973"

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16.x

# make sure version in gradle.properties matches the version of embrace-swazzler3 version
- name: "Publish SDK locally"
run: ./gradlew publishToMavenLocal --no-daemon
Expand All @@ -64,7 +69,7 @@ jobs:

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

- name: "Test Results"
if: ${{ always() }}
Expand Down

0 comments on commit f51105b

Please sign in to comment.