Skip to content

Commit

Permalink
Move to poetry and github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
flyte committed Feb 19, 2021
1 parent 489c2f5 commit 1f5176f
Show file tree
Hide file tree
Showing 8 changed files with 87 additions and 336 deletions.
24 changes: 24 additions & 0 deletions .github/workflows
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: MQTT IO CI
on:
- push
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v2
- name: Setup up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: poetry install
- name: Lint with pylint
run: poetry run pylint -d fixme mqtt_io
- name: Lint with mypy
run: poetry run mypy mqtt_io
- name: Test with pytest
run: poetry run pytest
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
poetry.lock
.pytest_cache
.vscode
.ignore
Expand Down
File renamed without changes.
22 changes: 0 additions & 22 deletions Pipfile

This file was deleted.

310 changes: 0 additions & 310 deletions Pipfile.lock

This file was deleted.

Loading

0 comments on commit 1f5176f

Please sign in to comment.