mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-21 06:45:24 -06:00
feat(workflows): add import tests for Python 3.7
This commit is contained in:
parent
dbc2f65b97
commit
7b54f40f97
1 changed files with 10 additions and 0 deletions
10
.github/workflows/lint.yaml
vendored
10
.github/workflows/lint.yaml
vendored
|
|
@ -57,6 +57,16 @@ jobs:
|
|||
python -m nvitop.select --version
|
||||
python -m nvitop.select --help
|
||||
|
||||
- name: Import tests (Python 3.7)
|
||||
run: |
|
||||
"${{ steps.py37.outputs.python-path }}" -m pip install --upgrade pip setuptools
|
||||
"${{ steps.py37.outputs.python-path }}" -m pip install -r requirements.txt
|
||||
"${{ steps.py37.outputs.python-path }}" -c 'import nvitop'
|
||||
"${{ steps.py37.outputs.python-path }}" -m nvitop --version
|
||||
"${{ steps.py37.outputs.python-path }}" -m nvitop --help
|
||||
"${{ steps.py37.outputs.python-path }}" -m nvitop.select --version
|
||||
"${{ steps.py37.outputs.python-path }}" -m nvitop.select --help
|
||||
|
||||
- name: Install linters
|
||||
run: |
|
||||
python -m pip install --upgrade pre-commit pylint[spelling]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue