Skip to content

Commit

Permalink
Run setup before backend test
Browse files Browse the repository at this point in the history
  • Loading branch information
mesudip committed May 20, 2024
1 parent b1eb4d1 commit cae23b4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ name: Backend Test

on:
push:
paths:
- .github/workflows/test_backend.yml
branches:
- test
- chore/update-backend-workflow
- fix/allure-deployment

workflow_dispatch:
inputs:
Expand Down Expand Up @@ -37,9 +35,12 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python ./setup.py
python -m pytest --alluredir allure-results
env:
BASE_URL: https://${{inputs.deployment || 'govtool.cardanoapi.io/api' }}
FAUCET_API_KEY: ${{ secrets.FAUCET_API_KEY }}
KUBER_API_URL: https://kuber-govtool.cardanoapi.io

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

0 comments on commit cae23b4

Please sign in to comment.