Run python tests during main workflow

This commit is contained in:
George Gevoian 2022-10-02 23:10:32 -07:00
parent b30a9e2f93
commit d69ac6a789
2 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,9 @@ jobs:
- name: Run smoke test - name: Run smoke test
run: VERBOSE=1 DEBUG=1 MOCHA_WEBDRIVER_HEADLESS=1 yarn run test:smoke run: VERBOSE=1 DEBUG=1 MOCHA_WEBDRIVER_HEADLESS=1 yarn run test:smoke
- name: Run python tests
run: yarn run test:python
- name: Run main tests - name: Run main tests
run: MOCHA_WEBDRIVER_HEADLESS=1 yarn run test run: MOCHA_WEBDRIVER_HEADLESS=1 yarn run test

View File

@ -19,6 +19,7 @@
"test:server": "GRIST_SESSION_COOKIE=grist_test_cookie NODE_PATH=_build:_build/stubs:_build/ext mocha _build/test/server/**/*.js _build/test/gen-server/**/*.js", "test:server": "GRIST_SESSION_COOKIE=grist_test_cookie NODE_PATH=_build:_build/stubs:_build/ext mocha _build/test/server/**/*.js _build/test/gen-server/**/*.js",
"test:smoke": "NODE_PATH=_build:_build/stubs:_build/ext mocha _build/test/nbrowser/Smoke.js", "test:smoke": "NODE_PATH=_build:_build/stubs:_build/ext mocha _build/test/nbrowser/Smoke.js",
"test:docker": "./test/test_under_docker.sh", "test:docker": "./test/test_under_docker.sh",
"test:python": "sandbox_venv3/bin/python sandbox/grist/runtests.py ${GREP_TESTS:+discover -p \"test*${GREP_TESTS}*.py\"} --xunit",
"cli": "NODE_PATH=_build:_build/stubs:_build/ext node _build/app/server/companion.js" "cli": "NODE_PATH=_build:_build/stubs:_build/ext node _build/app/server/companion.js"
}, },
"keywords": [ "keywords": [