Skip to content

Commit

Permalink
adjust relative import module for pytest, add pythonpath in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
theDataFixer committed Apr 15, 2024
1 parent a48047c commit 1055510
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ jobs:
if [ -f requirements.txt ]; then uv pip install -r requirements.txt; fi
uv pip install pytest requests-mock requests
pytest dlt_bigquery/tests/test_utils.py
env:
PYTHONPATH: ${{ github.workspace }}
3 changes: 2 additions & 1 deletion dlt_bigquery/tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import pytest
import requests
import requests_mock
from utils.functions import fetch_data

from ..utils.functions import fetch_data


@pytest.fixture
Expand Down

0 comments on commit 1055510

Please sign in to comment.