From 197526109a0feaf343ece03930be92172a2baed0 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 4 Aug 2025 22:10:54 +0200 Subject: [PATCH] WIP: workflow/test: init --- .gitea/workflows/test.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..6cff239 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -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