pytest-api/.gitea/workflows/.build.yaml
Greg Gauthier 8d1186a073
Some checks failed
build / build (push) Failing after 3s
kludge to get the .env set up in the workflow
2024-07-21 19:46:59 +00:00

27 lines
578 B
YAML

name: build
on: [push]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: python-latest
steps:
- name: Clone Repo
run:
git clone https://repos.gmgauthier.com/gmgauthier/pytest-api.git .
&& ls -la
- name: Prep Python Environment
run:
python -m pip install -r requirements.txt
touch .env.qa
echo "API_URL=${{ vars.GAMMA_WORLD_API_URL }}" >> .env.qa
- name: Run Open Api Tests
run:
pytest -rA --durations=0 --color=auto --config-file=./pytest.ini -m rules