Add CI tests for HTML tables
@@ -102,6 +102,35 @@ flake8:
allow_failure: true # need to fix existing code first
+# For HTML tables, test that bundled files are uptodate
+javascript-build:
+ stage: test
+ image: node
+ before_script:
+ - cd benchexec/tablegenerator/react-table
+ - npm install
+ script:
+ - npm run build
+ - git diff --exit-code
+ cache:
+ key: "$CI_JOB_NAME"
+ paths:
+ - "benchexec/tablegenerator/react-table/node_modules"
+
+javascript-tests:
+ stage: test
+ image: node
+ before_script:
+ - cd benchexec/tablegenerator/react-table
+ - npm install
+ script:
+ - npm run test
+ cache:
+ key: "$CI_JOB_NAME"
+ paths:
+ - "benchexec/tablegenerator/react-table/node_modules"
+
+
# Build Docker images
# following this guideline: https://docs.gitlab.com/ee/ci/docker/using_kaniko.html
.build-docker:
