From 3031dc34c90bfb947a5fdaa8f3f2111ab6032c1c Mon Sep 17 00:00:00 2001 From: Fernando Wittmann Date: Thu, 16 Nov 2023 00:31:35 -0300 Subject: [PATCH] Test CLI from setup.py --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b878c57..6dbd2ac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,6 @@ on: jobs: build: - runs-on: ubuntu-latest strategy: @@ -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