mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-06 00:33:40 +00:00
Add PyPI publish action (#91)
* Add PyPI publish action * Use poetry * Bump version to 0.7.0
This commit is contained in:
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user