diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 0c1d72d..05dd3b6 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8] + python-version: [3.7, 3.8] steps: - uses: actions/checkout@v1 diff --git a/gordian/repo.py b/gordian/repo.py index 9aaa264..05ccebc 100644 --- a/gordian/repo.py +++ b/gordian/repo.py @@ -246,3 +246,6 @@ def _get_new_version(self): elif self.semver_label == 'patch': patch = str(int(patch) + 1) self.new_version = '.'.join([major, minor, patch]) + + def get_github_client(self): + return self._github diff --git a/setup.py b/setup.py index f93b0c6..751d3b3 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup_reqs = ["pytest", "pytest-cov", "pytest-runner", "flake8"] setuptools.setup( name="gordian", - version="3.3.0", + version="3.4.0", author="Intuit", author_email="cg-sre@intuit.com", description="A tool to search and replace files in a Git repo", diff --git a/tests/test_repo.py b/tests/test_repo.py index ef835f6..5170421 100644 --- a/tests/test_repo.py +++ b/tests/test_repo.py @@ -150,3 +150,6 @@ def test__get_new_version_patch(self): self.repo.semver_label = 'patch' self.repo._get_new_version() self.assertEqual(self.repo.new_version, '1.2.4') + + def test__get_github_client(self): + self.assertIsNotNone(self.repo.get_github_client) \ No newline at end of file