From da5cca78aa24c0b9e5e475db309c20eed5120bc4 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Sun, 21 Jul 2024 18:50:00 +0100 Subject: [PATCH] add gitea actions --- .gitea/workflow/flaskbuild.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflow/flaskbuild.yml diff --git a/.gitea/workflow/flaskbuild.yml b/.gitea/workflow/flaskbuild.yml new file mode 100644 index 0000000..8bd7deb --- /dev/null +++ b/.gitea/workflow/flaskbuild.yml @@ -0,0 +1,23 @@ +name: gobuild + +on: [push] + +env: + BUILD_TYPE: Release + +jobs: + build: + runs-on: python-latest + + steps: + - name: Clone Repo + run: + git clone https://repos.gmgauthier.com/gmgauthier/gammatools.git . + && ls -la + - name: Prep Python Environment + run: + python -m pip install -r requirements.txt + - name: Run flask server tests + run: + pytest --rA --durations=0 --color=auto +