Skip to content

Commit 45e3083

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

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/build_and_test.yml

Lines changed: 7 additions & 9 deletions
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:
@@ -122,12 +120,12 @@ jobs:
122120
distribution: 'adopt'
123121
java-version: '8'
124122
cache: 'sbt'
125-
- name: Install Python 3.7
123+
- name: Install Python 3.8
126124
uses: actions/setup-python@v2
127125
with:
128-
python-version: 3.7.7
126+
python-version: 3.8
129127
architecture: x64
130-
- name: Install Python packages (Python 3.7)
128+
- name: Install Python packages (Python 3.8)
131129
run: |
132130
python -m pip install --upgrade pip
133131
pip install pyspark==3.3.1 numpy pytest

0 commit comments

Comments
 (0)