Update Python dependencies #980
Workflow file for this run
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 code | |
# Run workflow on pushes to matching branches | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: [develop, latest] | |
pull_request: | |
branches: [develop, latest] | |
jobs: | |
test_python: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install hatch | |
run: pip install hatch | |
- name: Test Python | |
run: hatch run test:test | |
test_markdown_links: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install requirements | |
shell: bash | |
run: npm install -g markdown-link-check | |
- name: Link Checker | |
uses: lycheeverse/[email protected] | |
with: | |
args: --config='./.lychee.toml' --no-progress --offline '**/*.md' --exclude-path './docs' | |
fail: true # fail on broken links |