Browse Source

CI: test CLI parser

commit-id:5f865212
Csongor Kiss 3 năm trước cách đây
mục cha
commit
3a182ec6f6
2 tập tin đã thay đổi với 10 bổ sung1 xóa
  1. 9 0
      .github/workflows/build.yml
  2. 1 1
      clients/js/run_parse_tests

+ 9 - 0
.github/workflows/build.yml

@@ -96,6 +96,15 @@ jobs:
           node-version: "16"
       - run: cd cosmwasm && make test
 
+  cli:
+    runs-on: ubuntu-20.04
+    steps:
+      - uses: actions/checkout@v2
+      - uses: actions/setup-node@v2
+        with:
+          node-version: "16"
+      - run: cd clients/js && make test
+
   # Run Go linters, Go tests and other outside-of-Tilt things.
   lint-and-tests:
     # The linter is slow enough that we want to run it on the self-hosted runner

+ 1 - 1
clients/js/run_parse_tests

@@ -8,7 +8,7 @@ function usage() {
 cat <<EOF >&2
 Usage:
 
-  $(basename "$0") [-h] [-a] -- Run golden parser golden tests in $test_directory
+  $(basename "$0") [-h] [-a] -- Run parser golden tests in $test_directory
 
   where:
     -h  show this help text