Просмотр исходного кода

Run collecstatic when preparing test environment

jeremystretch 4 лет назад
Родитель
Сommit
b6f70ed92a
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      .github/workflows/ci.yml

+ 3 - 0
.github/workflows/ci.yml

@@ -40,6 +40,9 @@ jobs:
         pip install pycodestyle coverage
         ln -s configuration.testing.py netbox/netbox/configuration.py
 
+    - name: Collect static files
+      run: python netbox/netbox/manage.py collectstatic --no-input
+
     - name: Check PEP8 compliance
       run: pycodestyle --ignore=W504,E501 netbox/