This commit is contained in:
33
.gitea/workflows/test.yaml
Normal file
33
.gitea/workflows/test.yaml
Normal 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
|
Reference in New Issue
Block a user