Skip to content

Commit

Permalink
#61 Fixed the pytest-extension integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsimb committed Oct 7, 2024
1 parent def4269 commit 0cd611b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ jobs:
- name: Run Tests of All Plugins
run: |
echo "PYTEST_ADDOPTS = $PYTEST_ADDOPTS"
# just test
pytest -s --backend=onprem pytest-extension/test/integration/tmp_test.py
just test
env:
SAAS_HOST: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_HOST }}
SAAS_ACCOUNT_ID: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_ACCOUNT_ID }}
SAAS_PAT: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_PAT }}
# PYTEST_ADDOPTS: '-o log_cli=true -o log_cli_level=INFO ${{ steps.pytest-markers.outputs.slow-tests }}'
PYTEST_ADDOPTS: '-o log_cli=true -o log_cli_level=INFO ${{ steps.pytest-markers.outputs.slow-tests }}'
3 changes: 2 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ test +projects=PROJECTS:
for p in "{{projects}}".split():
run(f"poetry -C {p}/ install")
run(f"poetry -C {p}/ run nox -f {p}/noxfile.py -s coverage")
# run(f"poetry -C {p}/ run nox -f {p}/noxfile.py -s coverage")
run(f"poetry -C {p}/ run pytest -s --backend=onprem test/integration/tmp_test.py")
sys.exit(rc)

relock +projects=PROJECTS:
Expand Down

0 comments on commit 0cd611b

Please sign in to comment.