diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 944959e..ba03925 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use python uses: actions/setup-python@v4 @@ -24,5 +24,8 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt + - name: show cwd + run : python -c "import sys; print('\n'.join(sys.path))" + - name: Run tests run: pytest tests/ \ No newline at end of file diff --git a/tests/test_train.py b/tests/test_train.py index 55c4175..ef0a8fd 100644 --- a/tests/test_train.py +++ b/tests/test_train.py @@ -1,4 +1,3 @@ -import pytest import os import sys @@ -11,7 +10,6 @@ from src.models.predict_model import predict,SentiBites from src.models.train_model import pre_processing, train import datasets -import pandas as pd MODEL = 'models/SentiBites'