Skip to content

Commit

Permalink
try to fix the credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
classiqdor committed Jun 13, 2024
1 parent f0ade3d commit eb9f872
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,7 @@ jobs:
fi
- name: Set authentication
run: |
curl --request POST \
--url https://auth.classiq.io/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"}' \
| jq '.access_token' > "${HOME}/.classiq-credentials"
cat "${HOME}/.classiq-credentials"
run: echo "${{ secrets.CLASSIQ_CREDENTIALS_B64 }}" | base64 --decode > "${HOME}/.classiq-credentials"

- name: "Run tests"
run: python -m pytest tests
Expand Down

0 comments on commit eb9f872

Please sign in to comment.