diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 58d20f6..db68d2f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ jobs: restore-keys: | ${{ runner.os }}-py3${{ matrix.python-minor-version }}-pip- - name: Install system dependencies - run: sudo apt-get install graphviz + run: sudo apt-get install graphviz swig python3-setuptools python3-dev - name: Set up Python uses: actions/setup-python@v5 with: @@ -33,6 +33,14 @@ jobs: check-latest: true - name: Display Python version run: python -c "import sys; print(sys.version)" + - name: Install lg library + run: | + cd $RUNNER_TEMP + wget http://abyz.me.uk/lg/lg.zip + unzip lg.zip + cd lg + make + sudo make install - name: Install Python packages run: pip install --upgrade setuptools pip wheel tox coveralls - name: Run tests diff --git a/setup.cfg b/setup.cfg index f91ec12..2379352 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,8 @@ zip_safe = False packages = find_namespace: python_requires = >=3.8, <4 install_requires = - luma.core>=2.4.1 + luma.core[gpio,spi] @ git+https://github.com/rm-hull/luma.core.git@optional-270 + tests_require = pytest pytest-cov