Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
[gapic-generator] chore: remove 2.7 from python showcase tests (#3229)
Browse files Browse the repository at this point in the history
* chore: remove 2.7 from python showcase tests

It sounds like 2.7 is no longer supported, and it's currently breaking [tests](https://app.circleci.com/pipelines/github/googleapis/gapic-generator/255/workflows/b2063a3b-2ad2-4641-8952-0bc16673a242/jobs/47732/steps) for [this unrelated PR](#3190).

* fix: remove python 2.7 from .circleci/config.yml as well
  • Loading branch information
miraleung committed Jun 12, 2020
1 parent a1edbae commit 61532e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .circleci/config.yml
Expand Up @@ -81,16 +81,12 @@ anchor_verify_and_test_python: &anchor_verify_and_test_python
- run:
name: Run Showcase Generated Unit Tests.
command: |
nox --session "unit(py='2.7')" \
--noxfile /tmp/workspace/gapic-generator/showcase/python/nox.py
nox --session "unit(py='3.6')" \
--noxfile /tmp/workspace/gapic-generator/showcase/python/nox.py
when: always
- run:
name: Run Showcase Integration Tests.
command: |
nox --session "showcase(py='2.7')" \
--noxfile /tmp/workspace/gapic-generator/showcase/python/nox.py
nox --session "showcase(py='3.6')" \
--noxfile /tmp/workspace/gapic-generator/showcase/python/nox.py
when: always
Expand Down
4 changes: 2 additions & 2 deletions showcase/python/nox.py
Expand Up @@ -24,7 +24,7 @@ def default(session):


@nox.session
@nox.parametrize('py', ['2.7', '3.5', '3.6', '3.7'])
@nox.parametrize('py', ['3.5', '3.6', '3.7'])
def showcase(session, py):
"""Run the showcase integration test suite."""

Expand All @@ -48,7 +48,7 @@ def showcase(session, py):


@nox.session
@nox.parametrize('py', ['2.7', '3.5', '3.6', '3.7'])
@nox.parametrize('py', ['3.5', '3.6', '3.7'])
def unit(session, py):
"""Run the unit test suite."""

Expand Down

0 comments on commit 61532e5

Please sign in to comment.