25 lines
486 B
YAML
25 lines
486 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
|
|
- name: Run Open Api Tests
|
|
run:
|
|
pytest -rA --durations=0 --color=auto --config-file=./pytest.ini -m rules
|
|
|
|
|