mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
With this change, we are now testing the production static asset pipeline and installation process in a new testing job (and also run the frontend/backend tests separately). This means that changes that break the Zulip static asset pipeline or production installation process are more likely to fail tests. The testing is imperfect in that it does not have proper isolation -- we build a complete Zulip development environment and then install a Zulip production environment on top of it, so e.g. any apt dependencies installed for Zulip development will still be available for the Zulip production environment. But, it's better than nothing! A good v2 of this would be to have the production setup process just install the minimum stuff needed to run `build-release-tarball` and then uninstall it / clean it up so that we can do a more clear production installation, but that's more work.
8 lines
138 B
Bash
Executable File
8 lines
138 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
set -x
|
|
source /srv/zulip-venv/bin/activate
|
|
export PATH=$PATH:/srv/zulip-venv/bin
|
|
./tools/lint-all
|
|
./tools/test-backend
|