need to track down the bug that requires BOTH env files to be present...
Some checks failed
build / build (push) Failing after 4s

This commit is contained in:
Greg Gauthier 2024-07-21 20:26:57 +00:00
parent 4591917ef4
commit 642ca7259c

View File

@ -17,16 +17,16 @@ jobs:
- name: Prep Python Environment
run:
python -m pip install -r requirements.txt
touch .env.gw
touch .env.qa
- name: Run Open Api Tests
run:
touch .env.gw
&& echo "API_URL=${{ vars.GAMMA_WORLD_API_URL }}" >> .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 "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