workflow/test: init
Some checks failed
Test / test (push) Failing after 1m19s

This commit is contained in:
2025-08-04 22:10:54 +02:00
parent 00ec3c43fc
commit 417db6ab0c

View File

@@ -0,0 +1,33 @@
name: "Test"
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: apt-get install dependencies
run: |
apt-get update
apt-get install -y git jq
- run: git config --global --add safe.directory '*'
- run: git clone --depth=1 --single-branch --branch=master https://git.pvv.ntnu.no/mugiten/kanjivg.git kanjivg
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: flutter pub get
- run: flutter test
env:
KANJIVG_PATH: ${{ github.workspace }}/kanjivg