Skip to content

Commit

Permalink
Add github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
elianortega committed Aug 7, 2021
1 parent 43239af commit e221c63
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: examples

on:
push:
paths:
- "examples/**"

pull_request:
paths:
- "examples/**"

jobs:
examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/[email protected]
- name: Install Melos
working-directory: examples
run: pub global activate melos
- name: Initialize melos
working-directory: examples
run: melos bs
- name: Run test
working-directory: examples
run: melos run test:all
build:
needs: [examples]
runs-on: ubuntu-latest
steps:
- name: noop
run: echo 'noop'
2 changes: 1 addition & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ packages:
- examples/**

scripts:
test:
test:all:
run: melos exec flutter test #--no-pub --coverage --test-randomize-ordering-seed random
description: Run all tests

Expand Down

0 comments on commit e221c63

Please sign in to comment.