Sync JNI branch with release 9.16.0 #4023
Workflow file for this run
This file contains hidden or 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: sentry-drift | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release/** | |
| pull_request: | |
| paths: | |
| - '!**/*.md' | |
| - '!**/class-diagram.svg' | |
| - '.github/workflows/drift.yml' | |
| - '.github/workflows/analyze.yml' | |
| - '.github/actions/dart-test/**' | |
| - '.github/actions/coverage/**' | |
| - 'packages/dart/**' | |
| - 'packages/drift/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: '${{ matrix.os }} | ${{ matrix.sdk }}' | |
| runs-on: ${{ matrix.os }}-latest | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu, macos, windows] | |
| sdk: [stable, beta] | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Install libsqlite3 (Ubuntu) | |
| if: matrix.os == 'ubuntu' | |
| run: sudo apt-get -y install libsqlite3-dev | |
| - name: Install SQLite (macOS) | |
| if: matrix.os == 'macos' | |
| run: brew install sqlite3 | |
| - name: Install SQLite (Windows) | |
| if: matrix.os == 'windows' | |
| shell: powershell | |
| run: | | |
| choco install sqlite -y | |
| echo "C:/ProgramData/chocolatey/lib/sqlite/tools" >> $GITHUB_PATH | |
| - uses: ./.github/actions/dart-test | |
| with: | |
| directory: packages/drift | |
| web: 'false' | |
| - uses: ./.github/actions/coverage | |
| if: matrix.os == 'ubuntu' && matrix.sdk == 'stable' | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| directory: packages/drift | |
| coverage: sentry_drift | |
| min-coverage: 80 | |
| analyze: | |
| uses: ./.github/workflows/analyze.yml | |
| with: | |
| package: packages/drift |