chore: update stale URLs in docs #181
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: tests | |
on: | |
push: | |
branches: | |
- "**" | |
tags: | |
- "!**" | |
workflow_call: | |
env: | |
POETRY_VERSION: 1.8.2 | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
PYTHON_VERSION: ["3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.PYTHON_VERSION }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.PYTHON_VERSION }} | |
- name: Install poetry | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install poetry==${{env.POETRY_VERSION}} | |
- name: Configure poetry | |
shell: bash | |
run: poetry config virtualenvs.in-project true | |
- name: Set up miniconda | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
miniforge-version: latest | |
channels: bioconda,conda-forge | |
activate-environment: prymer | |
environment-file: prymer.yml | |
channel-priority: true | |
auto-update-conda: true | |
auto-activate-base: false | |
python-version: ${{ matrix.PYTHON_VERSION }} | |
- name: Install the project's dependencies | |
shell: bash -el {0} | |
run: poetry install | |
- name: Test the codebase | |
shell: bash -el {0} | |
run: poetry run pytest | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Test building the documentation | |
shell: bash -el {0} | |
run: set -euo pipefail && poetry run mkdocs build --strict |