From 8aa165ec933514fe8ddd37a6c219b5a8b8e6b386 Mon Sep 17 00:00:00 2001 From: Mike Kinney Date: Thu, 16 Dec 2021 12:21:49 -0800 Subject: [PATCH 1/3] see if we can validate if we can run the cli from just the build --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3acf7de..4de2984 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,3 +32,16 @@ jobs: run: pylint meshtastic - name: Run tests with pytest run: pytest --cov=meshtastic + validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install Python 3 + uses: actions/setup-python@v1 + with: + python-version: 3.9 + - name: Install meshtastic from local + run: | + pip3 install . + which meshtastic + meshtastic --version From 1b6067636541722019085c558d59846134de1c5f Mon Sep 17 00:00:00 2001 From: Mike Kinney Date: Thu, 16 Dec 2021 12:24:40 -0800 Subject: [PATCH 2/3] temp remove a lib to see if the validation fails --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 46ebdee..bf2f4a8 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ setup( include_package_data=True, install_requires=["pyserial>=3.4", "protobuf>=3.13.0", "pypubsub>=4.0.3", "dotmap>=1.3.14", "pexpect>=4.6.0", "pyqrcode>=1.2.1", - "pygatt>=4.0.5", "tabulate>=0.8.9", "timeago>=1.0.15", "pyyaml"], + "pygatt>=4.0.5", "tabulate>=0.8.9", "timeago>=1.0.15"], extras_require={ 'tunnel': ["pytap2>=2.0.0"] }, From df194389e12c375836799021e66c8157d786e35e Mon Sep 17 00:00:00 2001 From: Mike Kinney Date: Thu, 16 Dec 2021 12:26:24 -0800 Subject: [PATCH 3/3] add lib back in now that validation worked --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bf2f4a8..46ebdee 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ setup( include_package_data=True, install_requires=["pyserial>=3.4", "protobuf>=3.13.0", "pypubsub>=4.0.3", "dotmap>=1.3.14", "pexpect>=4.6.0", "pyqrcode>=1.2.1", - "pygatt>=4.0.5", "tabulate>=0.8.9", "timeago>=1.0.15"], + "pygatt>=4.0.5", "tabulate>=0.8.9", "timeago>=1.0.15", "pyyaml"], extras_require={ 'tunnel': ["pytap2>=2.0.0"] },