post-fork-work

merge-requests/2/merge
jem 3 years ago
parent b80c977c79
commit 40a7cba90d

@ -36,9 +36,3 @@ jobs:
- name: Test with pytest - name: Test with pytest
run: | run: |
pytest -v --cov=python-terraform 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

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

@ -1,3 +1,3 @@
Please see README at github_ 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

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

@ -29,6 +29,12 @@ STRING_CASES = [
), ),
"terraform push -vcs=true -token=token -atlas-address=url path", "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 = [ CMD_CASES = [

Loading…
Cancel
Save