forked from openwisp/openwisp-monitoring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run-qa-checks
executable file
·27 lines (23 loc) · 1022 Bytes
/
run-qa-checks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
set -e
jshint openwisp_monitoring/device/static/monitoring/js/alert-settings.js
jshint openwisp_monitoring/monitoring/static/monitoring/js/chart.js
stylelint openwisp_monitoring/device/static/monitoring/css/monitoring.css
openwisp-qa-check \
--migration-path "./openwisp_monitoring/check/migrations \
./openwisp_monitoring/device/migrations \
./openwisp_monitoring/monitoring/migrations" \
--migration-module "check device_monitoring monitoring"
echo ''
echo 'Running checks for SAMPLE_APP'
SAMPLE_APP=1 openwisp-qa-check \
--skip-isort \
--skip-flake8 \
--skip-checkmigrations \
--skip-checkendline \
--skip-checkcommit \
--skip-black \
--migration-path "./tests/openwisp2/sample_check/migrations/ \
./tests/openwisp2/sample_device_monitoring/migrations/ \
./tests/openwisp2/sample_monitoring/migrations/" \
--migration-module "sample_check sample_device_monitoring sample_monitoring"