Skip to content

Commit

Permalink
setup ci for sentry_link (#2603)
Browse files Browse the repository at this point in the history
* setup ci for link

* update file names

* update coverage settings
  • Loading branch information
buenaflor authored Jan 22, 2025
1 parent fbdf369 commit 816a44c
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .github/workflows/link.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: sentry-link
on:
push:
branches:
- main
- release/**
pull_request:
paths:
- '!**/*.md'
- '!**/class-diagram.svg'
- '.github/workflows/link.yml'
- '.github/workflows/analyze.yml'
- '.github/actions/dart-test/**'
- '.github/actions/coverage/**'
- 'dart/**'
- 'link/**'

jobs:
cancel-previous-workflow:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected]
with:
access_token: ${{ github.token }}

build:
name: '${{ matrix.os }} | ${{ matrix.sdk }}'
runs-on: ${{ matrix.os }}-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [macos, ubuntu, windows]
sdk: [stable, beta]

steps:
- uses: actions/checkout@v4

- uses: ./.github/actions/dart-test
with:
directory: link
web: false

# TODO: don't set coverage for now to finish publishing it
# - uses: ./.github/actions/coverage
# if: runner.os == 'Linux' && matrix.sdk == 'stable'
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# directory: link
# coverage: sentry_link
# min-coverage: 55

analyze:
uses: ./.github/workflows/analyze.yml
with:
package: link
panaThreshold: 90
File renamed without changes.
File renamed without changes.

0 comments on commit 816a44c

Please sign in to comment.