pytest-api/.gitea/workflows/.build.yaml

27 lines
584 B
YAML
Raw Normal View History

2024-07-21 19:33:44 +00:00
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
2024-07-21 19:48:38 +00:00
&& touch .env.qa
&& echo "API_URL=${{ vars.GAMMA_WORLD_API_URL }}" >> .env.qa
2024-07-21 19:33:44 +00:00
- name: Run Open Api Tests
run:
pytest -rA --durations=0 --color=auto --config-file=./pytest.ini -m rules