Check Tutorials for Warnings and Errors #22
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 Tutorials for Warnings and Errors | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 14 * * *' # 2pm UTC == 9am EST | |
| jobs: | |
| check_tutorials: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout STUMPY | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: stumpy-dev/stumpy | |
| - name: Upgrade Pip, Install Minimum Requirements | |
| run: | | |
| python -m pip install --upgrade pip pandas lxml packaging | |
| shell: bash | |
| - name: Determine Safe Python Version | |
| id: get_safe_python | |
| run: | | |
| echo "safe_python=$(python ./versions.py -mode safe)" >> $GITHUB_OUTPUT | |
| - name: Set Up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ steps.get_safe_python.outputs.safe_python }} | |
| - name: Display Python Version | |
| run: python -c "import sys; print(sys.version)" | |
| shell: bash | |
| - name: Checkout This Repository | |
| uses: actions/checkout@v4 | |
| - name: Check Tutorials for Warnings and Errors | |
| run: python ./check_tutorials.py | |
| shell: bash |