Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
debug CI
  • Loading branch information
ianthomas23 committed Mar 6, 2026
commit d557f266d7eb38260648ca543f76221fc928d127
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ jobs:
- name: Run tests
env:
GIT2CPP_TEST_PRIVATE_TOKEN: ${{ secrets.GIT2CPP_TEST_PRIVATE_TOKEN }}
#GIT2CPP_TEST_PRIVATE_TOKEN: ${{ secrets.GIT2CPP_TEST_PRIVATE_TOKEN }}"
GIT2CPP_TEST_PRIVATE_TOKEN: "ZZZZZ_${{ secrets.GIT2CPP_TEST_PRIVATE_TOKEN }}_XXXXX"
run: |
pytest -v
env | sort
pytest -v -rP
coverage:
name: 'Test coverage'
Expand Down
4 changes: 3 additions & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ def private_test_repo():
# Fixture containing everything needed to access private github repo.
# GIT2CPP_TEST_PRIVATE_TOKEN is the fine-grained Personal Access Token for private test repo.
# If this is not available as an environment variable, tests that use this fixture are skipped.
token = os.getenv('GIT2CPP_TEST_PRIVATE_TOKEN')
token = os.getenv("GIT2CPP_TEST_PRIVATE_TOKEN")
if token is None:
pytest.skip("No token for private test repo GIT2CPP_TEST_PRIVATE_TOKEN")
print(f"TOKEN {token}")
assert token.startswith("github_pat")
repo_name = "git2cpp-test-private"
org_name = "QuantStack"
return {
Expand Down
Loading