Skip to content

Commit

Permalink
making environment file and also updating path within tests
Browse files Browse the repository at this point in the history
  • Loading branch information
beckynevin committed Jan 31, 2024
1 parent 149d16f commit f467b4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
shell: bash
run: python -m poetry install

- name: Create Environment File
run: echo "PYTHONPATH=$(pwd):$(pwd)/src" >> ${{ runner.workspace }}/.env

- name: Test with pytest
run: python -m poetry run pytest --cov
Expand Down
2 changes: 1 addition & 1 deletion tests/test_evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# flake8: noqa
#sys.path.append("..")
from src.scripts.evaluate import Diagnose, InferenceModel
from scripts.evaluate import Diagnose, InferenceModel
#from src.scripts import evaluate


Expand Down

0 comments on commit f467b4c

Please sign in to comment.