Broadcast updates across tabs if needed (#74) #276
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: Test | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1 | |
- name: Install Melos | |
run: dart pub global activate melos | |
- name: Install dependencies | |
run: melos prepare | |
- name: Check formatting | |
run: melos format:check:packages | |
- name: Lint | |
run: melos analyze:packages | |
- name: Publish dry-run | |
run: melos publish --dry-run --yes | |
- name: Check publish score | |
run: | | |
dart pub global activate pana | |
melos analyze:packages:pana | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- sqlite_version: "3440200" | |
sqlite_url: "https://www.sqlite.org/2023/sqlite-autoconf-3440200.tar.gz" | |
dart_sdk: 3.4.0 | |
- sqlite_version: "3430200" | |
sqlite_url: "https://www.sqlite.org/2023/sqlite-autoconf-3430200.tar.gz" | |
dart_sdk: 3.4.0 | |
- sqlite_version: "3420000" | |
sqlite_url: "https://www.sqlite.org/2023/sqlite-autoconf-3420000.tar.gz" | |
dart_sdk: 3.4.0 | |
- sqlite_version: "3410100" | |
sqlite_url: "https://www.sqlite.org/2023/sqlite-autoconf-3410100.tar.gz" | |
dart_sdk: 3.4.0 | |
- sqlite_version: "3380000" | |
sqlite_url: "https://www.sqlite.org/2022/sqlite-autoconf-3380000.tar.gz" | |
dart_sdk: 3.4.0 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: ${{ matrix.dart_sdk }} | |
- name: Install Melos | |
run: dart pub global activate melos | |
- name: Install dependencies | |
run: melos prepare | |
- name: Install SQLite | |
run: | | |
./scripts/install_sqlite.sh ${{ matrix.sqlite_version }} ${{ matrix.sqlite_url }} | |
- name: Run Tests | |
run: | | |
export LD_LIBRARY_PATH=$(pwd)/sqlite-autoconf-${{ matrix.sqlite_version }}/.libs | |
melos test |