Fix brand lint tests, run tests in CI
Two tests used the correct spelling "Hackertours" where they meant a
wrong one, so they expected errors the lint rightly doesn't report
("Hackertours" should be "Hackertours"). Use "HackerTours" there.
CI now runs the tests before building the site.
This commit is contained in:
parent
f091f181b8
commit
b644e8dce2
1 changed files with 13 additions and 8 deletions
|
|
@ -32,6 +32,11 @@ jobs:
|
|||
fetch-depth: 0 # pull full history for page lastmod by git commit date
|
||||
submodules: recursive
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
apk add python3
|
||||
python3 -m unittest discover -s tests -v
|
||||
|
||||
- name: Patch baseURL (staging only)
|
||||
if: github.ref_name != 'main'
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue