Skip to content

Commit

Permalink
issue #4: add code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
vivalareda committed Dec 2, 2023
1 parent 418faff commit 46c1b5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 29 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/workflow-code-coverage-python.yml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/workflow-lint-test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:
ruff --output-format=github --select=E9,F63,F7,F82 --target-version=py311 .
# default set of ruff rules with GitHub Annotations
ruff --output-format=github --target-version=py311 .
- name: Test with unittest
- name: Test and Coverage with unittest
run: |
python -m unittest discover -s tests
python -m coverage run -m unittest discover -s tests
python -m coverage report --show-missing --fail-under=60
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
LOUIS_DSN: ${{ secrets.LOUIS_DSN }}
Expand Down

0 comments on commit 46c1b5d

Please sign in to comment.