Use lychee for link checking instead of markdown-link-check #67
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: Tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
unittests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Python Poetry Action | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: "1.6.1" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: "poetry" | |
- name: Install prerequisites | |
run: | | |
poetry install --all-extras | |
sudo ./scripts/install-taskwarrior.sh | |
task --version | |
- name: Run tests | |
run: poetry run pytest |