Skip to content

Commit

Permalink
Update testes in Action
Browse files Browse the repository at this point in the history
  • Loading branch information
rk0cc committed Jan 9, 2024
1 parent bda8a5e commit 32da757
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/builder_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Widget test (Builder)
on:
push:
branches:
- main
paths:
- 'builder/**/*.dart'
- .github/workflows/builder_test.yml
pull_request:
branches:
- main
jobs:
test:
name: Widget test
env:
working-directory: './builder'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup dart
uses: dart-lang/setup-dart@v1
- name: Get dependencies
working-directory: ${{ env.working-directory }}
run: dart pub get
- name: Perform test
working-directory: ${{ env.working-directory }}
run: dart test

1 change: 0 additions & 1 deletion .github/workflows/model_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
- main
paths:
- 'model/**/*.dart'
- 'model/test_resources/**/*.html'
- .github/workflows/model_test.yml
pull_request:
branches:
Expand Down

0 comments on commit 32da757

Please sign in to comment.