From 3bd6eb36f8b0d0576a1e0b1fbfb871aa872af0ee Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Sun, 21 Jul 2024 20:33:44 +0100 Subject: [PATCH] run the open tests on my ci server --- .gitea/workflows/.build.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/.build.yaml diff --git a/.gitea/workflows/.build.yaml b/.gitea/workflows/.build.yaml new file mode 100644 index 0000000..e97c01a --- /dev/null +++ b/.gitea/workflows/.build.yaml @@ -0,0 +1,24 @@ +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 + +