Skip to content

Commit

Permalink
Add Build Tests (#2)
Browse files Browse the repository at this point in the history
Adds automated testing of setup.py builds and pip installation with all valid extras to check for any dependency conflicts
Modifies requirements to include mycroft-messagebus-client==0.9.1 which should still be compatible
  • Loading branch information
NeonDaniel authored Sep 14, 2021
1 parent ecf8391 commit 98c669d
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run Build Tests
on:
push:
workflow_dispatch:

jobs:
build_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: Install System Dependencies
run: |
sudo apt install python3-dev swig libssl-dev libfann-dev portaudio19-dev
- name: Build Distribution Packages
run: |
python setup.py bdist_wheel
- name: Install HolmesV package
run: |
pip install .[audio-backend,mark1,stt,tts,skills_minimal,skills,default_skills,enclosure,bus,all]
1 change: 1 addition & 0 deletions requirements/extra-mycroft.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This dependency list has been deprecated!
requests>=2.20.0
gTTS>=2.2.2
PyAudio==0.2.11
Expand Down
2 changes: 1 addition & 1 deletion requirements/minimal.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ requests>=2.20.0
pyee==8.1.0
mock_msm>=0.9.2
pyxdg>=0.26
mycroft-messagebus-client>=0.9.4
mycroft-messagebus-client>=0.9.1,!=0.9.2,!=0.9.3
inflection>=0.3.1
psutil>=5.6.6
fasteners>=0.14.1
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PyYAML==5.4

lingua-nostra>=0.4.4
mock_msm>=0.9.2
mycroft-messagebus-client>=0.9.4
mycroft-messagebus-client>=0.9.1,!=0.9.2,!=0.9.3
adapt-parser==0.5.1
padatious==0.4.8
fann2==1.0.7
Expand Down

0 comments on commit 98c669d

Please sign in to comment.