check_url_links #345
This file contains hidden or 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: Check URL Links | |
on: | |
workflow_dispatch: | |
repository_dispatch: | |
types: [check_url_links] | |
jobs: | |
check_url_links: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ '3.11' }} | |
- name: Display Python Version | |
run: python -c "import sys; print(sys.version)" | |
shell: bash | |
- name: Install PyTest Check links | |
run: python -m pip install --upgrade pytest-check-links | |
shell: bash | |
- name: Checkout STUMPY | |
if: "startsWith(steps.python.outputs.version, env.req-python-version)" | |
uses: actions/checkout@v4 | |
with: | |
repository: stumpy-dev/stumpy | |
- name: Install STUMPY And Other Dependencies | |
run: python -m pip install --editable .[ci] | |
shell: bash | |
- name: Check URL Links | |
run: ./test.sh links | |
shell: bash |