Commit 78edaea
committed
Run collectstatic before the tests in CI
This stops WhiteNoise from emitting warnings about STATIC_ROOT not
existing.
The alternative would be to set WHITENOISE_AUTOREFRESH = True in the
settings. We currently don't have any settings that are only applied
in CI and I think it makes sense to keep it that way to have the test
environment as close to production as possible.
See evansd/whitenoise#191
Signed-off-by: Haiko Schol <hs@haikoschol.com>1 parent 196b80c commit 78edaea
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments