This commit is contained in:
parent
d5a79999c9
commit
4591917ef4
@ -17,10 +17,23 @@ jobs:
|
||||
- name: Prep Python Environment
|
||||
run:
|
||||
python -m pip install -r requirements.txt
|
||||
&& touch .env.qa
|
||||
&& echo "API_URL=${{ vars.GAMMA_WORLD_API_URL }}" >> .env.gw
|
||||
- name: Run Open Api Tests
|
||||
run:
|
||||
pytest -rA --durations=0 --color=auto --config-file=./pytest.ini -m rules
|
||||
|
||||
touch .env.gw
|
||||
&& echo "API_URL=${{ vars.GAMMA_WORLD_API_URL }}" >> .env.gw
|
||||
&& pytest -rA --durations=0 --color=auto --config-file=./pytest.ini -m rules
|
||||
&& rm .env.gw
|
||||
- name: Run Oauth2 Api Tests
|
||||
run:
|
||||
touch .env.qa
|
||||
&& echo "API_URL=${{ secrets.EDD_API_URL }}" >> .env.qa
|
||||
&& echo "CLIENT_ID=${{ secrets.EDD_CLIENT_ID }}" >> .env.qa
|
||||
&& echo "CLIENT_SECRET=${{ secrets.EDD_CLIENT_SECRET }}" >> .env.qa
|
||||
&& echo "TOKEN_FETCH_URL=${{ secrets.EDD_TOKEN_FETCH_URL }}" >> .env.qa
|
||||
&& echo "LOGIN=${{ secrets.EDD_QA_LOGIN }}" >> .env.qa
|
||||
&& echo "PASSWORD=${{ secrets.EDD_QA_PWD }}" >> .env.qa
|
||||
&& echo "AUDIENCE=${{ secrets.EDD_AUDIENCE }}" >> .env.qa
|
||||
&& echo "SCOPES=${{ secrets.EDD_SCOPES }}" >> .env.qa
|
||||
&& pytest -rA --durations=0 --color=auto --config-file=./pytest.ini -m get
|
||||
&& rm .env.qa
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user