Skip to content

Commit

Permalink
Test CLI from setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
WittmannF committed Nov 16, 2023
1 parent 70eaa80 commit 3031dc3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
Expand All @@ -26,5 +25,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install the package
run: pip install -e .
- name: Test with unittest
run: python -m unittest
- name: Test CLI Command
run: sortgs 'machine learning' --nresults 10 # Replace with an appropriate CLI test command

0 comments on commit 3031dc3

Please sign in to comment.