Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
name: Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: stable
|
||||
|
||||
- name: Activate melos
|
||||
run: dart pub global activate melos
|
||||
|
||||
- name: Bootstrap workspace
|
||||
run: dart pub global run melos bootstrap
|
||||
|
||||
- name: Get dependencies
|
||||
run: dart pub global run melos get
|
||||
|
||||
- name: Run tests
|
||||
run: dart pub global run melos test
|
||||
Reference in New Issue
Block a user