Skip to content

Commit 0c4c957

Browse files
ci: [TT-412] injects secrets to run tests
1 parent 1558588 commit 0c4c957

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/time-tracker-v1-workflow.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,15 @@ jobs:
3838
uses: Azure/get-keyvault-secrets@v1
3939
with:
4040
keyvault: "time-tracker-secrets"
41-
secrets: "MS-CLIENT-ID"
41+
secrets: "MS-CLIENT-ID, MS-AUTHORITY, MS-SCOPE, MS-SECRET, MS-ENDPOINT"
4242
id: timeTrackerAzureVault
4343

4444
- name: Run tests
4545
env:
46+
MS_AUTHORITY: ${{ steps.timeTrackerAzureVault.outputs.MS-AUTHORITY }}
4647
MS_CLIENT_ID: ${{ steps.timeTrackerAzureVault.outputs.MS-CLIENT-ID }}
48+
MS_SCOPE: ${{ steps.timeTrackerAzureVault.outputs.MS-SCOPE }}
49+
MS_SECRET: ${{ steps.timeTrackerAzureVault.outputs.MS-SECRET }}
50+
MS_ENDPOINT: ${{ steps.timeTrackerAzureVault.outputs.MS-ENDPOINT }}
4751
run: |
4852
pytest tests

0 commit comments

Comments
 (0)