Skip to content

Commit e32b1c2

Browse files
committed
chore: Remove deprecated Python versions from CI
1 parent 69ee2fd commit e32b1c2

File tree

5 files changed

+0
-139
lines changed

5 files changed

+0
-139
lines changed

.github/workflows/ci_tests.yaml

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -9,46 +9,6 @@ on:
99
- cron: '0 0 * * *'
1010

1111
jobs:
12-
# Hypothesis no longer supports Python 2 and
13-
# there is a bug that appears with our slow tests
14-
# only on Python 2.
15-
# Until we also drop Python 2 support,
16-
# the workaround is just that we don't run the slow tests
17-
# on Python 2.
18-
py2-tests:
19-
runs-on: ${{ matrix.platform.os }}
20-
strategy:
21-
fail-fast: true
22-
matrix:
23-
platform:
24-
- os: ubuntu-latest
25-
architecture: x64
26-
- os: windows-latest
27-
architecture: x64
28-
# x86 builds are only meaningful for Windows
29-
- os: windows-latest
30-
architecture: x86
31-
- os: macos-latest
32-
architecture: x64
33-
category:
34-
- local-fast
35-
# These require credentials.
36-
# Enable them once we sort how to provide them.
37-
# - integ-fast
38-
# - examples
39-
steps:
40-
- uses: actions/checkout@v2
41-
- uses: actions/setup-python@v2
42-
with:
43-
python-version: 2.7
44-
architecture: ${{ matrix.platform.architecture }}
45-
- run: |
46-
python -m pip install --upgrade pip
47-
pip install --upgrade -r ci-requirements.txt
48-
- name: run test
49-
env:
50-
TOXENV: ${{ matrix.category }}
51-
run: tox -- -vv
5212
tests:
5313
runs-on: ${{ matrix.platform.os }}
5414
strategy:
@@ -65,8 +25,6 @@ jobs:
6525
- os: macos-latest
6626
architecture: x64
6727
python:
68-
- 3.5
69-
- 3.6
7028
- 3.7
7129
- 3.8
7230
- 3.9
@@ -111,22 +69,3 @@ jobs:
11169
env:
11270
TOXENV: ${{ matrix.category }}
11371
run: tox -- -vv
114-
upstream-py2:
115-
runs-on: ubuntu-latest
116-
strategy:
117-
fail-fast: true
118-
matrix:
119-
category:
120-
- test-upstream-requirements-py27
121-
steps:
122-
- uses: actions/checkout@v2
123-
- uses: actions/setup-python@v1
124-
with:
125-
python-version: 2.7
126-
- run: |
127-
python -m pip install --upgrade pip
128-
pip install --upgrade -r ci-requirements.txt
129-
- name: run test
130-
env:
131-
TOXENV: ${{ matrix.category }}
132-
run: tox -- -vv

buildspec.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ version: 0.2
33
batch:
44
fast-fail: false
55
build-list:
6-
- identifier: python2_7
7-
buildspec: codebuild/python2.7.yml
8-
- identifier: python3_5
9-
buildspec: codebuild/python3.5.yml
10-
- identifier: python3_6
11-
buildspec: codebuild/python3.6.yml
126
- identifier: python3_7
137
buildspec: codebuild/python3.7.yml
148
- identifier: python3_8

codebuild/python2.7.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

codebuild/python3.5.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

codebuild/python3.6.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)