File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Check Python Version End of Life
2+ on :
3+ workflow_dispatch :
4+ repository_dispatch :
5+ types : [check_python_eol]
6+ jobs :
7+ check_url_links :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+ - name : Set Up Python
12+ uses : actions/setup-python@v5
13+ - name : Display Python Version
14+ run : python -c "import sys; print(sys.version)"
15+ shell : bash
16+ - name : Checkout STUMPY
17+ if : " startsWith(steps.python.outputs.version, env.req-python-version)"
18+ uses : actions/checkout@v4
19+ with :
20+ repository : stumpy-dev/stumpy
21+ - name : Check Python Version End of Life
22+ run : |
23+ if [[ `./min_version.py | grep python | grep Mismatch | wc -l` -gt "0" ]]; then
24+ echo "Bump minimum version due to Python end-of-life"
25+ exit 1
26+ fi
27+ shell : bash
You can’t perform that action at this time.
0 commit comments