]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Use checkout + make instead of gwion-action for coverage
authorChase <44284917+TotallyNotChase@users.noreply.github.com>
Sun, 4 Oct 2020 16:37:02 +0000 (00:37 +0800)
committerChase <44284917+TotallyNotChase@users.noreply.github.com>
Sun, 4 Oct 2020 16:37:02 +0000 (00:37 +0800)
.github/workflows/coverage.yml

index c63cf44fd8500b5e1841ab1362ecdb9553417468..0ae18b50c3a8c5427335cacb9b179af1036841ed 100644 (file)
@@ -18,12 +18,14 @@ jobs:
     if: "!contains(github.event.head_commit.message, '[skip ci]')"
 
     steps:
-    - name: Build Gwion
-      uses: fennecdjay/gwion-action@v1
-      with:
-        dir: .
-        ref: ${{ github.sha }}
-        run: 'true'
+    - name: Checkout
+      uses: actions/checkout@v2
+
+    - name: Init submodules
+      run: git submodule update --init util ast
+
+    - name: Build & Test Gwion
+      run: make && make test
       env:
         USE_COVERAGE: 1
 
@@ -108,4 +110,4 @@ jobs:
         body: file://diff.html
         to: ${{ github.event.repository.owner.email }},${{ github.event.pusher.email }}
         from: Gwion Coverage action
-        content_type: text/html
+        content_type: text/html
\ No newline at end of file