diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c757a82..125d942 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -75,7 +75,12 @@ jobs: python -m pip install --upgrade pip setuptools pre-commit pylint[spelling] python -m pip install -r requirements.txt && python -m pre_commit install --install-hooks && - python -m pre_commit run --all-files + python -m pre_commit run --all-files && + python -c 'import nvitop' && + python -m nvitop --version && + python -m nvitop --help && + python -m nvitop.select --version && + python -m nvitop.select --help ) - name: Test docker build diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index ca63f56..e39846a 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -49,6 +49,14 @@ jobs: run: | python -m pip install -r requirements.txt + - name: Import tests + run: | + python -c 'import nvitop' + python -m nvitop --version + python -m nvitop --help + python -m nvitop.select --version + python -m nvitop.select --help + - name: Install linters run: | python -m pip install --upgrade pre-commit pylint[spelling]