Run tests #236
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
schedule: | |
- cron: '0 6 1,15 * 5' | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
cache-dependency-path: 'requirements.txt' | |
- run: make install | |
- run: make build | |
- uses: Cyb3r-Jak3/html5validator-action@v7.2.0 | |
with: | |
root: .build/ | |
css: true | |
log_level: INFO | |
blacklist: index_footer.html index_header.html | |
rufftest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
cache-dependency-path: 'requirements-ruff.txt' | |
- run: make ruffinstall | |
- run: make rufftest | |
env: | |
RUFF_FORMAT: github | |
typingtest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
cache-dependency-path: | | |
requirements-mypy.txt | |
requirements.txt | |
- run: make mypyinstall | |
- run: make typingtest |