Skip to content

Commit

Permalink
#10 Add environment variables to workflow build
Browse files Browse the repository at this point in the history
  • Loading branch information
mcsken committed Oct 22, 2024
1 parent 462fd3a commit 327a18a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
run: |
poetry build
- name: Run the test suite
env:
GITHUB_PRIVATE_KEY: ${{ secrets.GITHUB_APP_ID }}
GITHUB_APP_ID: ${{ secrets.GITHUB_APP_PRIVATE_KEY }}
run: |
poetry run pytest --cov=check-done --cov-branch
- name: Run check-done
Expand Down
3 changes: 3 additions & 0 deletions check_done/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ def github_app_access_token(organization: str) -> str:
return authentication.access_token


# TODO: Refactor code into functions instead of a class.


class _Authentication:
def __init__(self, organization: str):
self.organization = organization
Expand Down

0 comments on commit 327a18a

Please sign in to comment.