Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI emulator run #27

Merged
merged 6 commits into from
Feb 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add stacktrace and cleanup
  • Loading branch information
wmontwe committed Feb 19, 2023
commit 764c567596bab328bfea32250bf5e5e573e347ed
18 changes: 4 additions & 14 deletions .github/workflows/ci-pull-request-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,10 @@ jobs:

runs-on: macos-latest

strategy:
matrix:
api-level: [ 29 ]

concurrency:
group: validation-${{ github.head_ref }}
cancel-in-progress: true

env:
GITHUB_PACKAGE_DOWNLOAD_USER: ${{ github.actor }}
GITHUB_PACKAGE_DOWNLOAD_KEY: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PACKAGE_UPLOAD_USER: ${{ github.actor }}
GITHUB_PACKAGE_UPLOAD_KEY: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3
with:
Expand All @@ -38,7 +28,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
distribution: temurin
java-version: 11

- name: Setup Android SDK
Expand All @@ -54,13 +44,13 @@ jobs:
run: ./gradlew --stacktrace build

- name: Run Android instrumented tests
run: ./gradlew androidGroupDebugAndroidTest
run: ./gradlew --stacktrace androidGroupDebugAndroidTest

- name: Publish Test Report
- name: Publish test report
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
report_paths: '**/build/test-results/**/TEST-*.xml'

- name: Analyze
env:
Expand Down