Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 0 additions & 45 deletions .github/workflows/generate_very_good_wearos_app.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: semantic_pull_request

on:
pull_request:
Expand Down
67 changes: 67 additions & 0 deletions .github/workflows/very_good_wear_app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: very_good_wear_app

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
paths:
- .github/workflows/very_good_wear_app.yaml
- "brick/**"
branches:
- main
pull_request:
paths:
- .github/workflows/very_good_wear_app.yaml
- "brick/**"
branches:
- main

jobs:
brick:
runs-on: ubuntu-latest

strategy:
matrix:
flutter-version:
# The version of Flutter to use should use the minimum Dart SDK version supported by the package,
# refer to https://docs.flutter.dev/development/tools/sdk/releases.
- "3.13.0"
- "any"

steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4

- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ matrix.flutter-version }}

- name: 🧱 Mason Make
run: |
dart pub global activate mason_cli
mason get
mason make very_good_wear_app -c brick/config.json -o output --on-conflict overwrite

- name: 📦 Install Dependencies
run: |
dart pub global activate very_good_cli
very_good packages get --recursive output/test_app

- name: ✨ Check Formatting
run: dart format --set-exit-if-changed output/test_app

- name: 🕵️ Analyze
run: dart analyze --fatal-infos --fatal-warnings output/test_app

- name: 🧪 Run Tests
run: |
cd output/test_app
very_good test -j 4 --recursive --optimization --coverage --test-randomize-ordering-seed random

- name: 📊 Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: output/test_app/coverage/lcov.info
21 changes: 21 additions & 0 deletions .github/workflows/very_good_wear_app_hooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: very_good_wear_app_hooks

on:
pull_request:
paths:
- ".github/workflows/very_good_wear_app_hooks.yaml"
- "brick/hooks/**"
push:
branches:
- main
paths:
- ".github/workflows/very_good_wear_app_hooks.yaml"
- "brick/hooks/**"

jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
with:
working_directory: "brick/hooks"
analyze_directories: "test"
report_on: "pre_gen.dart"
36 changes: 0 additions & 36 deletions .github/workflows/very_good_wearos_app.yaml

This file was deleted.

5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ pubspec.lock

# Conventional directory for build outputs
build/

# Files and directories created by mason
.mason/
mason-lock.json
output/
6 changes: 6 additions & 0 deletions brick/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"project_name": "test_app",
"org_name": "very_good_ventures",
"application_id": "verygood.ventures.test",
"description": "A generated Very Good Wear App."
}
3 changes: 3 additions & 0 deletions mason.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bricks:
very_good_wear_app:
path: brick
23 changes: 0 additions & 23 deletions src/my_app/.github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

26 changes: 0 additions & 26 deletions src/my_app/.github/cspell.json

This file was deleted.

10 changes: 0 additions & 10 deletions src/my_app/.github/dependabot.yaml

This file was deleted.

29 changes: 0 additions & 29 deletions src/my_app/.github/workflows/main.yaml

This file was deleted.

Loading