diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index ddd408d..7cff085 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -26,10 +26,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest pip install pipreqs - pip install sqlalchemy - pip install pytest-asyncio + pip install -e . - name: Generate Requirements run: | @@ -39,12 +37,11 @@ jobs: - name: Install Requirements run: | - echo quest==0.1.1 > requirements.ignore + grep -v '^quest==' requirements.txt > requirements_clean.txt + mv requirements_clean.txt requirements.txt pip install -r requirements.txt - name: Run unit tests - env: - PYTHONPATH: ${{ github.workspace }}/src run: | pytest quest_test -o log_cli=true @@ -58,7 +55,5 @@ jobs: run: aws sts get-caller-identity - name: Run integration tests - env: - PYTHONPATH: ${{ github.workspace }}/src run: | pytest quest_test -m "integration" -o log_cli=true \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 7fad4f0..4d76f3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,6 @@ python = "^3.11" [tool.poetry.group.dev.dependencies] pytest = "^7.4.0" pytest-asyncio = "^0.21.0" -dotenv = "^0.19.0" sqlalchemy = { version = "^2.0.36", optional = true } boto3 = { version = "^1.35.60", optional = true }