Moved TypeScriptTests to python script (#7411)

* Moved TypeScriptTests to python script

* fixed CI issue with out-dated generated file

* Build flatc for TS CI

* reverting yarn.lock
This commit is contained in:
Derek Bailey
2022-08-07 11:42:02 -07:00
committed by GitHub
parent 468c00a3fe
commit ee2ced236d
10 changed files with 137 additions and 50 deletions

View File

@@ -315,11 +315,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: flatc
# FIXME: make test script not rely on flatc
run: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DFLATBUFFERS_BUILD_TESTS=OFF -DFLATBUFFERS_INSTALL=OFF -DFLATBUFFERS_BUILD_FLATLIB=OFF -DFLATBUFFERS_BUILD_FLATHASH=OFF . && make -j
- name: compile
run: npm run compile
- name: test
working-directory: tests
run: sh TypeScriptTest.sh
run: python3 TypeScriptTest.py
build-dart:
name: Build Dart