Skip to content

Commit

Permalink
release version 1.1.2 (#38)
Browse files Browse the repository at this point in the history
Update dependencies, fix pypi upload.

Signed-off-by: Peter Kogan <[email protected]>
  • Loading branch information
pksol authored Mar 8, 2022
1 parent 56b550f commit 7601b69
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 56 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,23 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: 3.8
- name: Setup pip
run: python -m pip install pip==21.0.1
- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
python_version: '3.7.1'
python_version: '3.8.10'
poetry_version: "==1.1.4"
repository_name: 'pytest_mock_generator'
repository_url: 'https://test.pypi.org/legacy/'
pypi_token: ${{ secrets.test_pypi_password }}
continue-on-error: true
- name: Sleep to allow pypi index to update with the new version
run: sleep 5m
- name: Set up Python 3.7
uses: actions/setup-python@v3
with:
python-version: 3.7
- name: Install poetry
run: make poetry-download
- name: Cleanup
Expand All @@ -32,7 +35,6 @@ jobs:
pip uninstall pytest-mock-generator
- name: Perform System tests
run: |
python -m pip install pip==21.0.1
poetry export --dev --without-hashes -f requirements.txt --output test-requirements.txt
pip install -r test-requirements.txt
pip install -i https://test.pypi.org/simple/ pytest-mock-generator
Expand All @@ -48,19 +50,22 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: 3.8
- name: Setup pip
run: python -m pip install pip==21.0.1
- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
python_version: '3.7.1'
python_version: '3.8.10'
poetry_version: "==1.1.4"
repository_name: 'pytest_mock_generator'
pypi_token: ${{ secrets.prod_pypi_password }}
continue-on-error: true
- name: Sleep to allow pypi index to update with the new version
run: sleep 5m
- name: Set up Python 3.7
uses: actions/setup-python@v3
with:
python-version: 3.7
- name: Install poetry
run: make poetry-download
- name: Cleanup
Expand All @@ -69,7 +74,6 @@ jobs:
pip uninstall pytest-mock-generator
- name: Perform System tests
run: |
python -m pip install pip==21.0.1
poetry export --dev --without-hashes -f requirements.txt --output test-requirements.txt
pip install -r test-requirements.txt
pip install pytest-mock-generator
Expand Down
86 changes: 43 additions & 43 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pytest-mock-generator"
version = "1.1.1"
version = "1.1.2"
description = "A pytest fixture wrapper for https://pypi.org/project/mock-generator"
readme = "README.md"
authors = ["Peter Kogan <[email protected]>"]
Expand Down

0 comments on commit 7601b69

Please sign in to comment.