mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-12-22 05:24:54 +01:00
Run tests automatically in build
This commit is contained in:
parent
652fbd74be
commit
db5d58e49c
2 changed files with 7 additions and 3 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -27,8 +27,11 @@ jobs:
|
|||
- name: Clean
|
||||
run: python setup.py clean --all
|
||||
|
||||
# - name: Run tests
|
||||
# run: python -m unittest tests
|
||||
- name: Install Requirements
|
||||
run: pip3 install -r requirements.txt
|
||||
|
||||
- name: Run tests
|
||||
run: coverage run --source cbpi -m pytest tests
|
||||
|
||||
- name: Build source distribution package for CraftBeerPi
|
||||
run: python setup.py sdist
|
||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -15,4 +15,5 @@ node_modules
|
|||
.venv*
|
||||
.DS_Store
|
||||
config/*
|
||||
logs/
|
||||
logs/
|
||||
.coverage
|
Loading…
Reference in a new issue