mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 20:24:18 -04:00
(ci) add smoke tests for server scripts
This commit is contained in:
parent
bdf8724169
commit
af2918562a
@ -53,3 +53,25 @@ unit-tests:
|
||||
coverage_report:
|
||||
coverage_format: cobertura
|
||||
path: coverage/cobertura-coverage.xml
|
||||
|
||||
server-scripts-smoke-test:
|
||||
stage: test
|
||||
script:
|
||||
- echo -e "\e[0Ksection_start:`date +%s`:prepare_dependencies\r\e[0KPrepare Dependencies"
|
||||
- 'sed -i ''s/git+ssh:\/\/git@gitlab.com:Avris\/FontAwesomePro.git/git+https:\/\/git@gitlab.com\/Avris\/FakeFontAwesomePro.git/'' package.json'
|
||||
- echo -e "\e[0Ksection_end:`date +%s`:prepare_dependencies\r\e[0K"
|
||||
|
||||
- make switch LANG=en
|
||||
|
||||
- echo -e "\e[0Ksection_start:`date +%s`:install_dependencies\r\e[0KInstall Dependencies"
|
||||
- yarn install --immutable --immutable-cache --check-cache --cache-folder .yarn
|
||||
- echo -e "\e[0Ksection_end:`date +%s`:install_dependencies\r\e[0K"
|
||||
|
||||
# calls scripts to check for simple issues while disabling actual work (e.g. no publishing to third party)
|
||||
# some scripts are left out because they need special configuration and are not safe to smoke test
|
||||
- node server/calendarBot.js en,pl,es,pt,de,nl,fr,ja,ru,sv,lad,ua,vi ""
|
||||
- node server/cleanupAccounts.js
|
||||
- node server/migrate.js
|
||||
- node server/notify.js
|
||||
- node server/stats.js
|
||||
- node server/subscriptions.js
|
||||
|
Loading…
x
Reference in New Issue
Block a user