diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index 0d32915..1425e58 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -10,11 +10,19 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + python: [ 3.7, 3.8, 3.9 ] steps: - uses: actions/checkout@v2 - + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: Install Tox and any other packages + run: pip install tox - name: Run check - run: make test + run: make check diff --git a/Makefile b/Makefile index 65b0906..d8650d1 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,14 @@ .PHONY: test init deinit shipit pylint +# This is for CI on Github +check: tox.ini + tox -e py + +# Manual tests test: tox.ini tox; - # pylint --rcfile=pylint.rc *.py app/*.py plugins/base/*.py + pylint --rcfile=pylint.rc *.py app/*.py plugins/base/*.py coverage html; coverage report;