Skip to content

Commit 7c6e485

Browse files
committed
test: Remove tests against python2.7
1 parent 3320964 commit 7c6e485

File tree

3 files changed

+1025
-1776
lines changed

3 files changed

+1025
-1776
lines changed

.github/workflows/integrate.yml

+6-15
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ jobs:
1313
windowsNode14:
1414
name: '[Windows] Node.js v14: Unit tests'
1515
runs-on: windows-latest
16-
strategy:
17-
matrix:
18-
python-version: [2.7, 3.7]
1916
steps:
2017
- name: Checkout repository
2118
uses: actions/checkout@v2
@@ -30,10 +27,10 @@ jobs:
3027
key: npm-v14-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
3128
restore-keys: npm-v14-${{ runner.os }}-${{ github.ref }}-
3229

33-
- name: Set up Python ${{ matrix.python-version }}
30+
- name: Set up Python 3.7
3431
uses: actions/setup-python@v2
3532
with:
36-
python-version: ${{ matrix.python-version }}
33+
python-version: 3.7
3734

3835
- name: Install Node.js and npm
3936
uses: actions/setup-node@v1
@@ -64,9 +61,6 @@ jobs:
6461
linuxNode14:
6562
name: '[Linux] Node.js 14: Unit tests'
6663
runs-on: ubuntu-latest
67-
strategy:
68-
matrix:
69-
python-version: [2.7, 3.7]
7064
steps:
7165
- name: Checkout repository
7266
uses: actions/checkout@v2
@@ -81,10 +75,10 @@ jobs:
8175
key: npm-v14-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
8276
restore-keys: npm-v14-${{ runner.os }}-${{ github.ref }}-
8377

84-
- name: Set up Python ${{ matrix.python-version }}
78+
- name: Set up Python 3.7
8579
uses: actions/setup-python@v2
8680
with:
87-
python-version: ${{ matrix.python-version }}
81+
python-version: 3.7
8882

8983
- name: Install Node.js and npm
9084
uses: actions/setup-node@v1
@@ -115,9 +109,6 @@ jobs:
115109
linuxNode12:
116110
name: '[Linux] Node.js v12: Unit tests'
117111
runs-on: ubuntu-latest
118-
strategy:
119-
matrix:
120-
python-version: [2.7, 3.7]
121112
steps:
122113
- name: Checkout repository
123114
uses: actions/checkout@v2
@@ -132,10 +123,10 @@ jobs:
132123
key: npm-v12-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
133124
restore-keys: npm-v12-${{ runner.os }}-${{ github.ref }}-
134125

135-
- name: Set up Python ${{ matrix.python-version }}
126+
- name: Set up Python 3.7
136127
uses: actions/setup-python@v2
137128
with:
138-
python-version: ${{ matrix.python-version }}
129+
python-version: 3.7
139130

140131
- name: Install Node.js and npm
141132
uses: actions/setup-node@v1

.github/workflows/validate.yml

+6-15
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ jobs:
1313
linuxNode14:
1414
name: '[Linux] Node.js v14: Lint, Eventual Commitlint, Eventual Changelog, Formatting & Unit tests'
1515
runs-on: ubuntu-latest
16-
strategy:
17-
matrix:
18-
python-version: [2.7, 3.7]
1916
steps:
2017
- name: Checkout repository
2118
uses: actions/checkout@v2
@@ -43,10 +40,10 @@ jobs:
4340
npm-v14-${{ runner.os }}-${{ github.ref }}-
4441
npm-v14-${{ runner.os }}-refs/heads/master-
4542
46-
- name: Set up Python ${{ matrix.python-version }}
43+
- name: Set up Python 3.7
4744
uses: actions/setup-python@v2
4845
with:
49-
python-version: ${{ matrix.python-version }}
46+
python-version: 3.7
5047

5148
- name: Install Node.js and npm
5249
uses: actions/setup-node@v1
@@ -91,9 +88,6 @@ jobs:
9188
windowsNode14:
9289
name: '[Windows] Node.js v14: Unit tests'
9390
runs-on: windows-latest
94-
strategy:
95-
matrix:
96-
python-version: [2.7, 3.7]
9791
steps:
9892
- name: Checkout repository
9993
uses: actions/checkout@v2
@@ -110,10 +104,10 @@ jobs:
110104
npm-v14-${{ runner.os }}-${{ github.ref }}-
111105
npm-v14-${{ runner.os }}-refs/heads/master-
112106
113-
- name: Set up Python ${{ matrix.python-version }}
107+
- name: Set up Python 3.7
114108
uses: actions/setup-python@v2
115109
with:
116-
python-version: ${{ matrix.python-version }}
110+
python-version: 3.7
117111

118112
- name: Install Node.js and npm
119113
uses: actions/setup-node@v1
@@ -144,9 +138,6 @@ jobs:
144138
linuxNode12:
145139
name: '[Linux] Node.js v12: Unit tests'
146140
runs-on: ubuntu-latest
147-
strategy:
148-
matrix:
149-
python-version: [2.7, 3.7]
150141
steps:
151142
- name: Checkout repository
152143
uses: actions/checkout@v2
@@ -163,10 +154,10 @@ jobs:
163154
npm-v12-${{ runner.os }}-${{ github.ref }}-
164155
npm-v12-${{ runner.os }}-refs/heads/master-
165156
166-
- name: Set up Python ${{ matrix.python-version }}
157+
- name: Set up Python 3.7
167158
uses: actions/setup-python@v2
168159
with:
169-
python-version: ${{ matrix.python-version }}
160+
python-version: 3.7
170161

171162
- name: Install Node.js and npm
172163
uses: actions/setup-node@v1

0 commit comments

Comments
 (0)