Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanhexner committed Jan 6, 2025
1 parent aa4c40e commit a27775e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ jobs:
# Step 4: Install package
- name: Install the Project
run: pip install -e .

# Step 5: Run unit tests and save logs
- name: Run Unit Tests
run: |
pytest --maxfail=0 --disable-warnings | tee pytest_${{ matrix.python-version }}.log
pytest -v | tee pytest_${{ matrix.python-version }}.log
test ${PIPESTATUS[0]} -eq 0
# Step 6: Always save logs
- name: Save Test Logs
Expand Down
4 changes: 2 additions & 2 deletions sklearn_pipelines_builder/utils/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os

def get_test_folder():
return os.path.dirname(os.path.abspath(__file__))
return os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', '..', 'tests')

def get_results_folder():
return os.path.join(os.path.dirname(os.path.abspath(__file__)), 'test_results')
return os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', '..', 'tests', 'test_results')

0 comments on commit a27775e

Please sign in to comment.