Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed Mar 20, 2024
1 parent 5bede65 commit b6b4ceb
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,26 +58,17 @@ jobs:
run: |
cp netbox-lifecycle/contrib/configuration_lifecycle.py netbox/netbox/netbox/configuration_lifecycle.py
#- name: Build documentation
# run: mkdocs build
- name: Collect static files
run: python netbox/netbox/manage.py collectstatic --no-input

#- name: Collect static files
# run: python netbox/manage.py collectstatic --no-input
- name: Check for missing migrations
run: python netbox/netbox/manage.py makemigrations --check

#- name: Check for missing migrations
# run: python netbox/manage.py makemigrations --check
- name: Check PEP8 compliance
run: pycodestyle --ignore=W504,E501 netbox-lifecycle/netbox_lifecycle

#- name: Check PEP8 compliance
# run: pycodestyle --ignore=W504,E501 --exclude=node_modules netbox/
- name: Run tests
run: coverage run --source="netbox-lifecycle/netbox_lifecycle/" netbox/manage.py test netbox-lifecycle/netbox_lifecycle/ --parallel

#- name: Check UI ESLint, TypeScript, and Prettier Compliance
# run: yarn --cwd netbox/project-static validate

#- name: Validate Static Asset Integrity
# run: scripts/verify-bundles.sh

#- name: Run tests
# run: coverage run --source="netbox/" netbox/manage.py test netbox/ --parallel

#- name: Show coverage report
# run: coverage report --skip-covered --omit '*/migrations/*,*/tests/*'
- name: Show coverage report
run: coverage report --skip-covered --omit '*/migrations/*,*/tests/*'

0 comments on commit b6b4ceb

Please sign in to comment.