prepare v0.14.0 #230
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
# Prevent duplicate builds on internal PRs. | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
environment: test_ci | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
sdk: [2.19, stable, beta] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: ${{ matrix.sdk }} | |
- name: Install dependencies | |
run: dart pub get | |
- name: Install coveralls | |
run: sudo gem install coveralls-lcov | |
- name: Start Centrifugo | |
run: docker run -d -p 8000:8000 centrifugo/centrifugo:latest centrifugo --client_insecure | |
- name: Run tests | |
run: bash tool/test.sh |