Skip to content

Commit

Permalink
fix: renamed env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-s committed Nov 25, 2024
1 parent c933841 commit f92ae22
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/live_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
runs-on: ubuntu-latest
env:
# Secrets for API and organization
DEEP_ORIGIN_REFRESH_TOKEN: ${{ secrets.DEEP_ORIGIN_REFRESH_TOKEN }}
DEEP_ORIGIN_ACCESS_TOKEN: ${{ secrets.DEEP_ORIGIN_ACCESS_TOKEN }}
REFRESH_TOKEN: ${{ secrets.DEEP_ORIGIN_REFRESH_TOKEN }}
ACCESS_TOKEN: ${{ secrets.DEEP_ORIGIN_ACCESS_TOKEN }}
DEEP_ORIGIN_ORGANIZATION_ID: ${{ secrets.DEEP_ORIGIN_ORGANIZATION_ID }}
DEEP_ORIGIN_API_ENDPOINT: ${{ secrets.DEEP_ORIGIN_API_ENDPOINT }}
DEEP_ORIGIN_NUCLEUS_API_ROUTE: ${{ secrets.DEEP_ORIGIN_NUCLEUS_API_ROUTE }}
Expand All @@ -34,8 +34,8 @@ jobs:
run: |
mkdir -p ~/.deeporigin
echo '{
"refresh": "'$DEEP_ORIGIN_REFRESH_TOKEN'",
"access": "'$DEEP_ORIGIN_ACCESS_TOKEN'"
"refresh": "'$REFRESH_TOKEN'",
"access": "'$ACCESS_TOKEN'"
}' > ~/.deeporigin/api_tokens
- name: Install dependencies
Expand All @@ -44,5 +44,9 @@ jobs:
pip install --upgrade setuptools
pip install -e .[test]
- name: Refresh API tokens using deeporigin.auth
run: |
python -c "from deeporigin import auth; auth.get_tokens(refresh=True)"
- name: Run tests against a live instance
run: make test-github-live

0 comments on commit f92ae22

Please sign in to comment.