From 4122e0027cf3c362cf08df431f210eabee619244 Mon Sep 17 00:00:00 2001 From: Rudio Date: Fri, 8 Dec 2023 21:36:45 +0100 Subject: [PATCH] up --- .github/workflows/test.yaml | 5 ++++- tests/test_train.py | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) 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'