Skip to content

Commit

Permalink
add more CLI test to the github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AHReccese committed Aug 13, 2024
1 parent 6715bf4 commit cff3e46
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,18 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .
- name: Smoke test
- name: CLI Tests - Version Check
run: |
python -m reserver --version
reserver --version
- name: CLI Tests - Invalid Token
run: |
python -m reserver --token "invalid_token" --test --name numpy
reserver --token "invalid_token" --test --name numpy
- name: CLI Tests - Valid Token + Invalid Name (already taken)
run: |
python -m reserver --token "${{ secrets.TEST_PYPI_PASSWORD }}" --test --name numpy
reserver --token "${{ secrets.TEST_PYPI_PASSWORD }}" --test --name numpy
- name: Test requirements Installation
run: |
python otherfiles/requirements-splitter.py
Expand Down

0 comments on commit cff3e46

Please sign in to comment.