-
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* setup ci for link * update file names * update coverage settings
- Loading branch information
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
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
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.