Skip to content

Commit 78d2979

Browse files
authored
chore: remove 3.6 tests for alternative templates (#666)
Features in the Ads templates require Python 3.7 or later.
1 parent 4bf1711 commit 78d2979

3 files changed

Lines changed: 1 addition & 34 deletions

File tree

packages/gapic-generator/.circleci/config.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ workflows:
3838
filters:
3939
tags:
4040
only: /^v\d+\.\d+\.\d+$/
41-
- showcase-unit-alternative-templates-3.6:
42-
requires:
43-
- unit-3.6
44-
filters:
45-
tags:
46-
only: /^v\d+\.\d+\.\d+$/
4741
- showcase-unit-alternative-templates-3.7:
4842
requires:
4943
- unit-3.7
@@ -100,7 +94,6 @@ workflows:
10094
requires:
10195
- docs
10296
- mypy
103-
- showcase-unit-alternative-templates-3.6
10497
- showcase-unit-alternative-templates-3.7
10598
- showcase-unit-alternative-templates-3.8
10699
- showcase-mypy-alternative-templates
@@ -111,7 +104,6 @@ workflows:
111104
requires:
112105
- docs
113106
- mypy
114-
- showcase-unit-alternative-templates-3.6
115107
- showcase-unit-alternative-templates-3.7
116108
- showcase-unit-alternative-templates-3.8
117109
- showcase-mypy-alternative-templates
@@ -424,30 +416,6 @@ jobs:
424416
- run:
425417
name: Run unit tests.
426418
command: nox -s showcase_unit-3.8
427-
showcase-unit-alternative-templates-3.6:
428-
docker:
429-
- image: python:3.6-slim
430-
steps:
431-
- checkout
432-
- run:
433-
name: Install system dependencies.
434-
command: |
435-
apt-get update
436-
apt-get install -y curl pandoc unzip gcc
437-
- run:
438-
name: Install protoc 3.12.1.
439-
command: |
440-
mkdir -p /usr/src/protoc/
441-
curl --location https://github.com/google/protobuf/releases/download/v3.12.1/protoc-3.12.1-linux-x86_64.zip --output /usr/src/protoc/protoc-3.12.1.zip
442-
cd /usr/src/protoc/
443-
unzip protoc-3.12.1.zip
444-
ln -s /usr/src/protoc/bin/protoc /usr/local/bin/protoc
445-
- run:
446-
name: Install nox.
447-
command: pip install nox
448-
- run:
449-
name: Run unit tests.
450-
command: nox -s showcase_unit_alternative_templates-3.6
451419
showcase-unit-alternative-templates-3.7:
452420
docker:
453421
- image: python:3.7-slim

packages/gapic-generator/.github/sync-repo-settings.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ branchProtectionRules:
1717
- 'ci/circleci: showcase-unit-3.7'
1818
- 'ci/circleci: showcase-unit-3.8'
1919
- 'ci/circleci: showcase-unit-add-iam-methods'
20-
- 'ci/circleci: showcase-unit-alternative-templates-3.6'
2120
- 'ci/circleci: showcase-unit-alternative-templates-3.7'
2221
- 'ci/circleci: showcase-unit-alternative-templates-3.8'
2322
- 'ci/circleci: style-check'

packages/gapic-generator/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def showcase_unit(
176176
)
177177

178178

179-
@nox.session(python=["3.6", "3.7", "3.8"])
179+
@nox.session(python=["3.7", "3.8"])
180180
def showcase_unit_alternative_templates(session):
181181
showcase_unit(session, templates=ADS_TEMPLATES, other_opts=("old-naming",))
182182

0 commit comments

Comments
 (0)