Add 2023-12-19 #261
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: Test | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Setup v.Nu | |
run: | | |
wget -O vnu.zip https://github.com/validator/validator/releases/download/20.6.30/vnu.jar_20.6.30.zip | |
unzip vnu.zip | |
- name: Install Python dependencies | |
run: pip install -r requirements.txt -r requirements.test.txt | |
- run: flake8 advent tests | |
- run: mypy --strict advent | |
- run: pytest -vv | |
- run: python -m advent | |
- run: java -jar dist/vnu.jar --verbose output/index.html |