This commit is contained in:
34
.gitea/workflows/test.yaml
Normal file
34
.gitea/workflows/test.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
name: "Test"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y git jq
|
||||
|
||||
- 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
|
||||
Reference in New Issue
Block a user