| # This is a basic workflow to help you get started with Actions |
| |
| name: ci-chrome |
| |
| # Controls when the workflow will run |
| on: |
| # Triggers the workflow on push or pull request events but only for the master branch |
| push: |
| branches: [ master ] |
| pull_request: |
| branches: [ master ] |
| |
| |
| # Allows you to run this workflow manually from the Actions tab |
| workflow_dispatch: |
| |
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel |
| jobs: |
| # This workflow contains a single job called "build" |
| build: |
| # The type of runner that the job will run on |
| runs-on: ubuntu-latest |
| strategy: |
| fail-fast: false |
| matrix: |
| sdk: [3.2.0, stable, dev] |
| |
| # Steps represent a sequence of tasks that will be executed as part of the job |
| steps: |
| # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
| - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 |
| - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 |
| with: |
| sdk: ${{ matrix.sdk }} |
| |
| - name: Install dependencies |
| run: dart pub get |
| |
| - name: Test chrome |
| run: dart test -j 1 -p chrome |