THRIFT-5564: Add nodets tests to Github Actions
Client: nodets
This adds the tests for the "nodets" library. This isn't an actual library, and are just another set of tests for the nodejs library, but also using typescript. Therefore I have added them in the existing "nodejs" job.
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5de8086..57730c0 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -531,7 +531,7 @@
- name: Run configure
run: |
- ./configure $(echo $CONFIG_ARGS_FOR_LIBS | sed 's/without-nodejs/with-nodejs/')
+ ./configure $(echo $CONFIG_ARGS_FOR_LIBS | sed -E 's/without-node([tj])s/with-node\1s/g')
- uses: actions/download-artifact@v4
with:
@@ -543,9 +543,12 @@
chmod a+x compiler/cpp/thrift
compiler/cpp/thrift -version
- - name: Run tests
+ - name: Run js tests
run: make -C lib/nodejs check
+ - name: Run ts tests
+ run: make -C lib/nodets check
+
cross-test:
needs:
- lib-java-kotlin