feat(tests): run tests using non-UTC time zone

This commit is contained in:
Łukasz Mierzwa
2018-12-27 19:56:08 +01:00
parent 677a291e6b
commit e24e2daad1

View File

@@ -35,6 +35,17 @@ jobs:
after_success:
- bash <(curl -s https://codecov.io/bash) -F ui -s ui
# duplicate js test but with a different time zone, to ensure that tests/code work with non-UTC time zone
- stage: Test
<<: *DEFAULTS_JS
env:
- DESC="Test JavaScript code with Pacific/Easter time zone"
- NODE_ENV=test
- TZ=Pacific/Easter
script: make test-js
after_success:
- bash <(curl -s https://codecov.io/bash) -F ui -s ui
- stage: Lint
<<: *DEFAULTS_JS
env: