Skip to content

Commit

Permalink
Fix backend test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mesudip committed May 19, 2024
1 parent 3387462 commit 9c1d9a5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ on:
deployment:
required: true
type: choice
default: "staging.govtool.byron.network/api"
default: "govtool.cardanoapi.io/api"
options:
- "sanchogov.tools/api"
- "staging.govtool.byron.network/api"
- "govtool-sanchonet.cardanoapi.io/api"
- "govtool.cardanoapi.io/api"

jobs:
backend-tests:
Expand All @@ -40,9 +40,7 @@ jobs:
pip install -r requirements.txt
python -m pytest --alluredir allure-results
env:
BASE_URL: https://${{inputs.deployment || 'staging.govtool.byron.network/api' }}
METRICS_URL: https://metrics.cardanoapi.io
METRICS_API_SECRET: "${{ secrets.METRICS_SERVER_SECRET_TOKEN }}"
BASE_URL: https://${{inputs.deployment || 'govtool.cardanoapi.io/api' }}

- name: Upload report
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 9c1d9a5

Please sign in to comment.