Skip to content

Commit

Permalink
Try adding in qodo?
Browse files Browse the repository at this point in the history
  • Loading branch information
acbart committed Dec 8, 2024
1 parent 111a5d7 commit 5ec7e69
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/qodo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,19 @@ jobs:
pip install pytest mypy
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
- name: Test with pytest
pip install -e .
- name: Test with unittest
run: |
python -m pytest ./tests/
cd tests/
python -m unittest discover ./
- name: Suggest Tests with Qodo
uses: qodo-ai/qodo-ci/.github/actions/qodo-cover@v0.1.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
project_language: python
project_root: ./drafter/
project_root: ./pedal/
code_coverage_report_path: ./coverage.xml
test_command: "python -m pytest ./tests/ --cov=./drafter/ --cov-report=xml --cov-report=term"
test_command: "coverage run -m unittest discover ./ && coverage xml -o coverage.xml"
model: gpt-4o

env:
Expand Down

0 comments on commit 5ec7e69

Please sign in to comment.