Skip to content

Commit

Permalink
drop py3.6, update packaging and deps (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Korijn authored Feb 18, 2022
1 parent f534e31 commit 2b8c6ce
Show file tree
Hide file tree
Showing 4 changed files with 269 additions and 357 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,29 @@ on:
- master

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install poetry
run: pip install "poetry>=1.1.12,<1.2"
- name: Install dependencies
run: poetry install
- name: Lint
run: poetry run flake8

test:
name: Lint and test on ${{ matrix.name }}
name: Test on ${{ matrix.name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: Linux py36
pyversion: '3.6'
- name: Linux py37
pyversion: '3.7'
- name: Linux py38
Expand All @@ -35,11 +49,9 @@ jobs:
with:
python-version: ${{ matrix.pyversion }}
- name: Install poetry
run: pip install "poetry>=1.1.8,<1.2"
run: pip install "poetry>=1.1.12,<1.2"
- name: Install dependencies
run: poetry install
- name: Lint
run: poetry run flake8
- name: Test
run: poetry run pytest --cov=observ --cov-report=term-missing

Expand All @@ -53,7 +65,7 @@ jobs:
with:
python-version: '3.9'
- name: Install poetry
run: pip install "poetry>=1.1.8,<1.2"
run: pip install "poetry>=1.1.12,<1.2"
- name: Install dependencies
run: poetry install
- name: Build wheel
Expand Down
2 changes: 1 addition & 1 deletion observ/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.8.1"
__version__ = "0.9.0"


from .observables import (
Expand Down
Loading

0 comments on commit 2b8c6ce

Please sign in to comment.