Skip to content

Commit

Permalink
Add CI job to test the lib on varouis os and sdk versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtanko committed Nov 14, 2024
1 parent 4305e95 commit c1e7523
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,26 @@ name: Dart CI
on: [ push, pull_request ]

jobs:
test:
test-os:
timeout-minutes: 5
runs-on: ubuntu-latest

strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
sdk: [ stable, beta, dev ]

container:
image: dart:${{ matrix.sdk }}

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: dart pub get
- name: Run tests
run: dart pub run test

test-versions:
timeout-minutes: 5
runs-on: ubuntu-latest

Expand Down

0 comments on commit c1e7523

Please sign in to comment.