Skip to content

Commit

Permalink
update credential getter
Browse files Browse the repository at this point in the history
  • Loading branch information
classiqdor committed Jun 6, 2024
1 parent 246e3e9 commit d679c72
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ jobs:
- name: Set authentication
run: |
echo "${{ secrets.CLASSIQ_CREDENTIALS_TOKEN }}" > "${HOME}/.classiq-credentials"
curl --request POST \
--url https://classiq-dev.eu.auth0.com/oauth/token \
--header 'content-type: application/json' \
--data '{"client_id":"${{ secrets.CLASSIQ_CLIENT_ID }}","client_secret":"${{ secrets.CLASSIQ_CLIENT_SECRET }}","audience":"https://cadmium-be","grant_type":"client_credentials"}' \
> "${HOME}/.classiq-credentials"
- name: "Run tests"
run: python -m pytest tests
Expand Down

0 comments on commit d679c72

Please sign in to comment.