Add PyPI publish action (#91)

* Add PyPI publish action

* Use poetry

* Bump version to 0.7.0
This commit is contained in:
Dave Gallant
2021-05-02 10:16:34 -04:00
committed by GitHub
parent 737ed13220
commit 740312ee42
8 changed files with 757 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
name: Tests
on: [push]
on: [pull_request]
jobs:
build:
@@ -16,10 +16,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install .
pip install -r requirements_dev.txt
pip install poetry==1.1.6
poetry install
- name: Run pre-commit
run: |
git diff --name-only $TRAVIS_COMMIT_RANGE | xargs pre-commit run --files
git diff --name-only $TRAVIS_COMMIT_RANGE | xargs poetry run pre-commit run --files
- name: Test
run: make ci
run: poetry run make ci