Browse Source

add test for macos

BLUELOVETH 2 years ago
parent
commit
2a7fde2640
1 changed files with 5 additions and 1 deletions
  1. 5 1
      .github/workflows/main.yml

+ 5 - 1
.github/workflows/main.yml

@@ -68,6 +68,10 @@ jobs:
       runs-on: macos-latest
       steps:
       - uses: actions/checkout@v3
+      - name: Compile and Test
+        run: |
+          bash build.sh
+          python3 scripts/run_tests.py
       - run: |
           python3 amalgamate.py
           cd plugins/macos/pocketpy
@@ -107,4 +111,4 @@ jobs:
           rm -rf tmp
       - uses: actions/upload-artifact@v3
         with:
-          path: plugins/flutter/example/build/app/outputs/flutter-apk/output
+          path: plugins/flutter/example/build/app/outputs/flutter-apk/output