add ratchet to CI

This commit is contained in:
Brian Hicks 2019-12-04 16:22:29 -06:00
parent b3e1a628c4
commit 9b9e1ea785
2 changed files with 11 additions and 1 deletions

3
.gitignore vendored
View File

@ -239,4 +239,5 @@ documentation.json
.envrc
/public
/tests/axe-report.json
/tests/axe-report.json
/tests/deprecated-imports-report.txt

View File

@ -6,6 +6,7 @@ test: node_modules
npx elm-verify-examples --run-tests
make axe-report
make percy-tests
make deprecated-imports-report
tests/axe-report.json: public script/run-axe.sh script/axe-puppeteer.js
script/run-axe.sh > $@
@ -18,6 +19,14 @@ axe-report: tests/axe-report.json script/format-axe-report.sh script/axe-report.
percy-tests:
script/percy-tests.sh
tests/deprecated-imports-report.txt: $(shell find src -type f) script/deprecated-imports.py
script/deprecated-imports.py report > $@
.PHONY: deprecated-imports-report
deprecated-imports-report: tests/deprecated-imports-report.txt script/deprecated-imports.py
@cat tests/deprecated-imports-report.txt
@script/deprecated-imports.py check
.PHONY: checks
checks:
script/check-exposed.py