Skip to content

Commit

Permalink
wkflow path issues
Browse files Browse the repository at this point in the history
  • Loading branch information
czaloom committed Dec 11, 2024
1 parent 90d5cd0 commit 22d8369
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tests-and-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
python-version: "3.10"
- name: run classification tests and report coverage
run: |
pip install -e "src/[test]"
COVERAGE_FILE=.coverage.classification python -m coverage run --include "valor_lite/*" -m pytest -v tests/classification/
pip install -e "./src/[test]"
COVERAGE_FILE=.coverage.classification python -m coverage run --include "src/valor_lite/*" -m pytest -v tests/classification/
python -m coverage combine
python -m coverage report -m
python -m coverage json
Expand All @@ -35,8 +35,8 @@ jobs:
working-directory: .
- name: run object detection tests and report coverage
run: |
pip install -e "src/[test]"
COVERAGE_FILE=.coverage.detection python -m coverage run --include "valor_lite/*" -m pytest -v tests/object_detection/
pip install -e "./src/[test]"
COVERAGE_FILE=.coverage.detection python -m coverage run --include "src/valor_lite/*" -m pytest -v tests/object_detection/
python -m coverage combine
python -m coverage report -m
python -m coverage json
Expand All @@ -49,8 +49,8 @@ jobs:
working-directory: .
- name: run semantic segmentation tests and report coverage
run: |
pip install -e "src/[test]"
COVERAGE_FILE=.coverage.segmentation python -m coverage run --include "valor_lite/*" -m pytest -v tests/semantic_segmentation/
pip install -e "./src/[test]"
COVERAGE_FILE=.coverage.segmentation python -m coverage run --include "src/valor_lite/*" -m pytest -v tests/semantic_segmentation/
python -m coverage combine
python -m coverage report -m
python -m coverage json
Expand All @@ -63,8 +63,8 @@ jobs:
working-directory: .
- name: run text generation tests and report coverage
run: |
pip install -e "src/[test,openai,mistral]"
COVERAGE_FILE=.coverage.text_generation python -m coverage run --include "valor_lite/*" -m pytest -v tests/text_generation/
pip install -e "./src/[test,openai,mistral]"
COVERAGE_FILE=.coverage.text_generation python -m coverage run --include "src/valor_lite/*" -m pytest -v tests/text_generation/
python -m coverage combine
python -m coverage report -m
python -m coverage json
Expand Down

0 comments on commit 22d8369

Please sign in to comment.