Skip to content

Wrap all construction into factory method instead of extending class #36

Wrap all construction into factory method instead of extending class

Wrap all construction into factory method instead of extending class #36

Workflow file for this run

name: Model testing
on:
push:
branches:
- main
paths:
- 'model/**/*.dart'
- .github/workflows/model_test.yml
pull_request:
branches:
- main
jobs:
test:
name: Unit test
env:
working-directory: './model'
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