2024-07-21 17:51:00 +00:00
|
|
|
name: flaskbuild
|
2024-07-21 17:50:00 +00:00
|
|
|
|
|
|
|
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:
|
2024-07-21 18:05:49 +00:00
|
|
|
pytest -rA --durations=0 --color=auto --config-file=tests/pytest.ini
|
2024-07-21 17:50:00 +00:00
|
|
|
|