-
Notifications
You must be signed in to change notification settings - Fork 27
65 lines (59 loc) · 2.15 KB
/
test-python.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Test Python
on:
workflow_call:
jobs:
# pyspark is not available for snapshots or scala other than 2.12
# we would have to compile spark from sources for this, not worth it
test:
name: Test (Spark ${{ matrix.spark-version }} Scala ${{ matrix.scala-version }} Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
spark-compat-version: ['3.2', '3.3', '3.4', '3.5']
python-version: ['3.8', '3.9', '3.10']
include:
- spark-compat-version: '3.0'
spark-version: '3.0.3'
hadoop-version: '2.7'
scala-compat-version: '2.12'
scala-version: '2.12.10'
python-version: '3.8'
- spark-compat-version: '3.1'
spark-version: '3.1.3'
hadoop-version: '2.7'
scala-compat-version: '2.12'
scala-version: '2.12.10'
python-version: '3.8'
- spark-compat-version: '3.2'
spark-version: '3.2.4'
hadoop-version: '2.7'
scala-compat-version: '2.12'
scala-version: '2.12.15'
- spark-compat-version: '3.3'
spark-version: '3.3.4'
hadoop-version: '3'
scala-compat-version: '2.12'
scala-version: '2.12.15'
- spark-compat-version: '3.4'
spark-version: '3.4.4'
hadoop-version: '3'
scala-compat-version: '2.12'
scala-version: '2.12.17'
- spark-compat-version: '3.5'
spark-version: '3.5.3'
hadoop-version: '3'
scala-compat-version: '2.12'
scala-version: '2.12.18'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test
uses: ./.github/actions/test-python
with:
spark-version: ${{ matrix.spark-version }}
scala-version: ${{ matrix.scala-version }}
spark-compat-version: ${{ matrix.spark-compat-version }}
scala-compat-version: ${{ matrix.scala-compat-version }}
hadoop-version: ${{ matrix.hadoop-version }}
python-version: ${{ matrix.python-version }}