Skip to content

Commit

Permalink
Update unittests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
psilo909 authored May 10, 2022
1 parent 852ab56 commit 67a6053
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,16 @@ jobs:
- run: python3 -m pip install --upgrade pip #==19.3.1
#- run: pip install tox-travis virtualenv>=20.0.8 --upgrade
- run: pip install sphinx sphinx_rtd_theme recommonmark ruamel.yaml pytest
- name: Build Requirements
run: python3 smarthomeng/tools/build_requirements.py
- name: Show requirements/base.txt
run: head smarthomeng/requirements/base.txt -n 12
- name: Show requirements/all.txt
run: head smarthomeng/requirements/all.txt -n 12
- name: Install base.txt
run: pip install -r smarthomeng/requirements/base.txt
#- name: Build Requirements
# run: python3 smarthomeng/tools/build_requirements.py
#- name: Show requirements/base.txt
# run: head smarthomeng/requirements/base.txt -n 12
#- name: Show requirements/all.txt
# run: head smarthomeng/requirements/all.txt -n 12
#- name: Install base.txt
# run: pip install -r smarthomeng/requirements/base.txt
- name: Install Database Plugin Requirements
run: pip install -r smarthomeng/plugins/database/reuqirements.txt
- name: Run Python Unittests
working-directory: ./smarthomeng/plugins
run: pytest

0 comments on commit 67a6053

Please sign in to comment.