Skip to content

Commit

Permalink
add test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rainyl committed Mar 20, 2024
1 parent 3936130 commit 3c4ef01
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test

on:
push:
branches: ["main"]
pull_request:
branches: [ "main" ]

jobs:
build-windows:
name: build-windows
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: subosito/flutter-action@v2
with:
# flutter-version: '3.16.9'
channel: "stable"
- name: Run Test
run: |
dart run opencv_dart:setup windows -a x64
$env:PATH = "${{github.workspace}}\windows;${env:PATH}"
flutter pub get
flutter test -x no-local-files

0 comments on commit 3c4ef01

Please sign in to comment.