Skip to content

Commit

Permalink
integrate cli tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tfoote committed Nov 24, 2023
1 parent 275de5b commit 2d975ad
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/basic-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,16 @@ jobs:
run: python -m pytest -s -v --cov=rocker -m "not nvidia"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
os_detector_cli:
name: CLI smoke tests
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.8, '3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies And Self
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -e .
- name: Check os_detector script
- name: Check detect_docker_image_os runs
run: |
detect_docker_image_os ubuntu
- name: Check detector help
- name: Check detect_docker_image_os help
run: |
detect_docker_image_os ubuntu -h
- name: Check main runs
run: |
rocker ubuntu 'true'
- name: Check rocker help
- name: Check main help
run: |
rocker -h

0 comments on commit 2d975ad

Please sign in to comment.