24 lines
483 B
YAML
24 lines
483 B
YAML
name: flaskbuild
|
|
|
|
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 --config-file=tests/pytest.ini
|
|
|