diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 567da32..112bbad 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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 diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index b826ba6..89d606e 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -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 diff --git a/DESCRIPTION.rst b/DESCRIPTION.rst index f94e562..5641592 100644 --- a/DESCRIPTION.rst +++ b/DESCRIPTION.rst @@ -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 diff --git a/setup.py b/setup.py index f3bace4..ad38e19 100644 --- a/setup.py +++ b/setup.py @@ -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, diff --git a/test/test_terraform.py b/test/test_terraform.py index 221f6d3..f274031 100644 --- a/test/test_terraform.py +++ b/test/test_terraform.py @@ -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 = [