Skip to content

Commit

Permalink
Version 0.4.0 (#116)
Browse files Browse the repository at this point in the history
* Version 0.4.0

* Fix CI

* Fix CI

* Fix ci
  • Loading branch information
sobolevn authored Oct 6, 2022
1 parent 8538de4 commit f9bd9f1
Show file tree
Hide file tree
Showing 5 changed files with 691 additions and 674 deletions.
32 changes: 18 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,43 @@
name: test

on: [push, pull_request, workflow_dispatch]
on:
push:
branches:
- master
pull_request:
workflow_dispatch:

concurrency:
group: test-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ['3.7', '3.8', '3.9', '3.10']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install poetry
run: |
curl -sSL \
"https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py" | python -
"https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py" | python
echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
# Adding `poetry` to `$PATH`:
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Set up cache
uses: actions/cache@v2
with:
path: .venv
key: venv-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
run: |
poetry config virtualenvs.in-project true
poetry install
poetry run pip install -U pip
poetry install
- name: Run tests
run: |
Expand All @@ -45,6 +49,6 @@ jobs:
poetry run safety check --full-report
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
We follow Semantic Versions since the `0.1.0` release.


## Version 0.4.0

### Features

- Adds `python3.10` support
- Drops `python3.6` support


## Version 0.3.0

### Features
Expand Down
Loading

0 comments on commit f9bd9f1

Please sign in to comment.