2019-12-30 18:10:36 +00:00
|
|
|
name: python version check
|
2019-12-24 17:28:33 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
jobs:
|
2019-12-30 18:10:36 +00:00
|
|
|
validate:
|
2019-12-24 17:28:33 +00:00
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2020-03-12 07:19:42 +00:00
|
|
|
- uses: actions/checkout@v2
|
2019-12-24 17:28:33 +00:00
|
|
|
- name: Setup Python
|
|
|
|
uses: actions/setup-python@v1
|
|
|
|
with:
|
2019-12-30 18:10:36 +00:00
|
|
|
python-version: 3.7
|
2019-12-24 17:28:33 +00:00
|
|
|
- name: Install Python Packages
|
|
|
|
run: |
|
|
|
|
pip install --upgrade pip
|
|
|
|
pip install --upgrade vermin
|
|
|
|
- name: Minimum Version (Spack's Core)
|
|
|
|
run: vermin --backport argparse -t=2.6- -t=3.5- -v lib/spack/spack/ lib/spack/llnl/ bin/
|
|
|
|
- name: Minimum Version (Repositories)
|
|
|
|
run: vermin --backport argparse -t=2.6- -t=3.5- -v var/spack/repos
|