Skip to content

Commit

Permalink
set up secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenwashington committed Jun 17, 2024
1 parent 7136cfc commit 6bffcde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/.github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,7 @@ jobs:
# TODO move this to a temp directory
- name: Run integration tests
working-directory: tests/integration
env:
PROJECT_ID: ${{ secrets.IntegrationTestProjectId }}
run: |
pytest --cov=AutoMLOps=
4 changes: 2 additions & 2 deletions tests/integration/test_beans_training_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ def test_beans_training_model():
# Importing here to avoid conflict with repeated import in deploy_model
from google.cloud import aiplatform

project_id = ''
model_id = ''
project_id = os.environ.get('PROJECT_ID')
model_id = 'dry-beans-dt'
## Define the Pipeline Arguments
timestamp = datetime.datetime.now()
model_directory = f'gs://{project_id}-bucket/trained_models/{timestamp}'
Expand Down

0 comments on commit 6bffcde

Please sign in to comment.