Skip to content

Fix Android & iOS CI issues #3568

Fix Android & iOS CI issues

Fix Android & iOS CI issues #3568

Workflow file for this run

name: e2e-sentry-dart
on:
push:
branches:
- main
- release/**
pull_request:
paths-ignore:
- 'logging/**'
- 'dio/**'
- 'flutter/**'
- 'file/**'
- 'sqflite/**'
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_DIST: 1
jobs:
cancel-previous-workflow:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # [email protected]
with:
access_token: ${{ github.token }}
build:
name: E2E
runs-on: 'ubuntu-latest'
timeout-minutes: 30
defaults:
run:
working-directory: ./e2e_test
strategy:
fail-fast: false
matrix:
sdk: [stable, beta]
steps:
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d # pin@v1
with:
sdk: ${{ matrix.sdk }}
- uses: actions/checkout@v3
- name: Run
if: env.SENTRY_AUTH_TOKEN != null
run: |
dart pub get
dart run --define=SENTRY_ENVIRONMENT=e2e
analyze:
uses: ./.github/workflows/analyze.yml
with:
package: e2e_test
panaThreshold: 0