quyuan 1 rok temu
rodzic
commit
d280ff449a
1 zmienionych plików z 3 dodań i 15 usunięć
  1. 3 15
      .github/workflows/cli.yml

+ 3 - 15
.github/workflows/cli.yml

@@ -46,19 +46,7 @@ jobs:
         export https_proxy=""
     - name: get-benchmark-result
       run: |
-        echo "start test"
+        echo $CI_PROJECT_DIR
         pytest -v tests/test_cli/test_cli.py -s
-        
-  notify_to_feishu:
-    if: ${{ always() && !cancelled() && contains(needs.*.result, 'failure') && (github.ref_name == 'master') }}
-    needs: [pdf-test]
-    runs-on: pdf
-    steps:
-    - name: notify
-      run: |
-        curl  ${{ secrets.WEBHOOK_URL }} -H 'Content-Type: application/json'  -d '{
-        "msgtype": "text",
-        "text": {
-            "content": "'${{ github.repository }}' GitHubAction Failed!\n 细节请查看:https://github.com/'${{ github.repository }}'/actions/runs/'${GITHUB_RUN_ID}'"
-        } 
-        }'                                                                                                                            
+
+