Skip to content

Commit 5317971

Browse files
committed
[SPARKNLP-1164] Updating python 3.7 to 3.8 for jobs spark34 and spark33
1 parent 8b571bf commit 5317971

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/build_and_test.yml

+8-11
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,12 @@ jobs:
4545
with:
4646
distribution: 'temurin'
4747
java-version: '8'
48-
cache: 'sbt'
49-
- name: Install Python 3.7
48+
- name: Install Python 3.8
5049
uses: actions/setup-python@v2
5150
with:
52-
python-version: 3.7.7
51+
python-version: 3.8
5352
architecture: x64
54-
- name: Install Python packages (Python 3.7)
53+
- name: Install Python packages (Python 3.8)
5554
run: |
5655
python -m pip install --upgrade pip
5756
pip install pyspark==3.4.0 numpy pytest
@@ -70,7 +69,7 @@ jobs:
7069
- name: Test Spark NLP in Python - Apache Spark 3.4.x
7170
run: |
7271
cd python
73-
python3.7 -m pytest -v -m fast
72+
python3.8 -m pytest -v -m fast
7473
spark35:
7574
if: "! contains(toJSON(github.event.commits.*.message), '[skip test]')"
7675
runs-on: macos-13
@@ -85,7 +84,6 @@ jobs:
8584
with:
8685
distribution: 'adopt'
8786
java-version: '8'
88-
cache: 'sbt'
8987
- name: Install Python 3.10
9088
uses: actions/setup-python@v2
9189
with:
@@ -121,13 +119,12 @@ jobs:
121119
with:
122120
distribution: 'adopt'
123121
java-version: '8'
124-
cache: 'sbt'
125-
- name: Install Python 3.7
122+
- name: Install Python 3.8
126123
uses: actions/setup-python@v2
127124
with:
128-
python-version: 3.7.7
125+
python-version: 3.8
129126
architecture: x64
130-
- name: Install Python packages (Python 3.7)
127+
- name: Install Python packages (Python 3.8)
131128
run: |
132129
python -m pip install --upgrade pip
133130
pip install pyspark==3.3.1 numpy pytest
@@ -141,5 +138,5 @@ jobs:
141138
- name: Test Spark NLP in Python - Apache Spark 3.3.x
142139
run: |
143140
cd python
144-
python3.7 -m pytest -v -m fast
141+
python3.8 -m pytest -v -m fast
145142

0 commit comments

Comments
 (0)