post-fork-work

This commit is contained in:
jem 2021-06-25 13:36:20 +02:00
parent b80c977c79
commit 40a7cba90d
5 changed files with 12 additions and 12 deletions

View file

@ -36,9 +36,3 @@ jobs:
- name: Test with pytest
run: |
pytest -v --cov=python-terraform
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

View file

@ -25,7 +25,7 @@ jobs:
- name: Publish package
uses: pypa/gh-action-pypi-publish@v1.4.2
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
user: dda
password: ${{ secrets.PYPI_DDA }}
skip_existing: true
verbose: true

View file

@ -1,3 +1,3 @@
Please see README at github_
.. _github: https://github.com/beelit94/python-terraform/blob/master/README.md
.. _github: https://github.com/DomainDrivenArchitecture/python-terraform/blob/develop/README.md

View file

@ -7,7 +7,7 @@ except ImportError:
from distutils.core import setup
dependencies = []
module_name = "python-terraform"
module_name = "dda-python-terraform"
short_description = (
"This is a python module provide a wrapper " "of terraform command line tool"
)
@ -22,13 +22,13 @@ except IOError:
setup(
name=module_name,
version="0.14.0",
url="https://github.com/beelit94/python-terraform",
url="https://github.com/DomainDrivenArchitecture/python-terraform",
license="MIT",
author="Freddy Tan",
author_email="beelit94@gmail.com",
description=short_description,
long_description=long_description,
packages=["python_terraform"],
packages=["dda_python_terraform"],
package_data={},
platforms="any",
install_requires=dependencies,

View file

@ -29,6 +29,12 @@ STRING_CASES = [
),
"terraform push -vcs=true -token=token -atlas-address=url path",
],
[
lambda x: x.generate_cmd_string(
"refresh", "path", token="token"
),
"terraform refresh -token=token path",
],
]
CMD_CASES = [