From b6f70ed92a6d723f5be9cc15b121145966016aec Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Tue, 27 Apr 2021 13:42:57 -0400 Subject: [PATCH] Run collecstatic when preparing test environment --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99ba1f9ce..7d80823dc 100644 --- a/.github/workflows/ci.yml +++ b/.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/