mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-06 04:19:26 +00:00
Introduce poetry (#1628)
This commit is contained in:
2
.github/workflows/pipeline.yml
vendored
2
.github/workflows/pipeline.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
pip install "tox<4" "tox-gh-actions<3" "setuptools<58" "coveralls<4"
|
||||
pip install "poetry<2" "tox<4" "tox-gh-actions<3" "coveralls<4"
|
||||
- name: Test with tox
|
||||
run: tox
|
||||
- name: Coveralls
|
||||
|
||||
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -19,13 +19,12 @@ jobs:
|
||||
python-version: 3.9
|
||||
|
||||
- name: Update version
|
||||
run: sed -i "s/__version__ = .*/__version__ = '${{github.ref_name}}'/" */__init__.py
|
||||
run: sed -i "s/^version = .*/version = '${{github.ref_name}}'/" pyproject.toml
|
||||
|
||||
- name: Build a binary wheel and a source tarball
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
pip install wheel
|
||||
python setup.py sdist bdist_wheel
|
||||
pip install poetry
|
||||
poetry build
|
||||
|
||||
- name: Publish distribution 📦 to Test PyPI
|
||||
if: github.event_name == 'push'
|
||||
|
||||
Reference in New Issue
Block a user