Explorar o código

Run collecstatic when preparing test environment

jeremystretch %!s(int64=4) %!d(string=hai) anos
pai
achega
b6f70ed92a
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      .github/workflows/ci.yml

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

@@ -40,6 +40,9 @@ jobs:
         pip install pycodestyle coverage
         pip install pycodestyle coverage
         ln -s configuration.testing.py netbox/netbox/configuration.py
         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
     - name: Check PEP8 compliance
       run: pycodestyle --ignore=W504,E501 netbox/
       run: pycodestyle --ignore=W504,E501 netbox/