Przeglądaj źródła

Add GitHub action to run regression test

TiejunZhou 2 lat temu
rodzic
commit
521fe0bacb
1 zmienionych plików z 25 dodań i 0 usunięć
  1. 25 0
      .github/workflows/regression_test.yml

+ 25 - 0
.github/workflows/regression_test.yml

@@ -0,0 +1,25 @@
+# This is a basic workflow that is manually triggered
+
+name: regression_test
+
+# Controls when the action will run. Triggers the workflow on push or pull request
+# events but only for the master branch
+on:
+  workflow_dispatch:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
+jobs:
+  # This workflow contains a single job called "linux_job"
+  run_tests:
+    permissions:
+      contents: read
+      issues: read
+      checks: write
+      pull-requests: write
+      pages: write
+      id-token: write
+    uses: azure-rtos/threadx/.github/workflows/regression_template.yml@master