Extract Activity Breadcrumbs generation into own Integration #3182
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Integration Tests' | |
on: | |
push: | |
branches: | |
- main | |
- release/** | |
pull_request: | |
jobs: | |
cancel-previous-workflow: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@01ce38bf961b4e243a6342cbade0dbc8ba3f0432 # pin@0.12.0 | |
with: | |
access_token: ${{ github.token }} | |
test: | |
name: Ui tests | |
runs-on: ubuntu-latest | |
# we copy the secret to the env variable in order to access it in the workflow | |
env: | |
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: 'Set up Java: 17' | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
# Clean, build and release a test apk, but only if we will run the benchmark | |
- name: Make assembleUiTests | |
if: env.SAUCE_USERNAME != null | |
run: make assembleUiTests | |
# We stop gradle at the end to make sure the cache folders | |
# don't contain any lock files and are free to be cached. | |
- name: Make stop | |
run: make stop | |
- name: Run Tests in SauceLab | |
uses: saucelabs/saucectl-run-action@7fe025ef1fdc6f211add3751a6c7d8bba27ba9b1 # pin@v3 | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
sauce-username: ${{ secrets.SAUCE_USERNAME }} | |
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }} | |
config-file: .sauce/sentry-uitest-android-ui.yml | |
if: env.SAUCE_USERNAME != null | |