30 lines
560 B
YAML
30 lines
560 B
YAML
name: "Test"
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install KanjiVG
|
|
run: |
|
|
git clone https://github.com/KanjiVG/kanjivg.git kanjivg
|
|
|
|
- name: Setup Flutter
|
|
uses: subosito/flutter-action@v2
|
|
with:
|
|
channel: 'stable'
|
|
|
|
- name: Install dependencies
|
|
run: flutter pub get
|
|
|
|
- name: Test
|
|
run: flutter test
|
|
env:
|
|
KANJIVG_PATH: ${{ github.workspace }}/kanjivg
|