6
6
7
7
jobs :
8
8
table-unit :
9
- name : Table Node Tests (Node ${{ matrix.node -version }})
9
+ name : Table Node Tests (Python ${{ matrix.python -version }})
10
10
runs-on : ubuntu-latest
11
11
strategy :
12
12
fail-fast : false
13
13
matrix :
14
- python-version : ["3.12"]
15
- node-version : [20.x]
14
+ python-version : ["3.9","3.12"]
16
15
17
16
steps :
18
17
- name : Checkout repository
19
18
uses : actions/checkout@v4
20
19
21
- - name : Set up Node.js ${{ matrix.node-version }}
20
+ - name : Set up Node.js
22
21
uses : actions/setup-node@v4
23
22
with :
24
- node-version : ${{ matrix.node-version }}
23
+ node-version : ' 20 '
25
24
cache : ' npm'
26
25
26
+ - name : Install Node.js dependencies
27
+ run : npm ci
28
+
27
29
- name : Set up Python ${{ matrix.python-version }}
28
30
uses : actions/setup-python@v5
29
31
with :
@@ -50,29 +52,25 @@ jobs:
50
52
npm run test.unit
51
53
52
54
table-server :
53
- name : Table Server Tests (Python ${{ matrix.python-version }})
55
+ name : Table Server Tests
54
56
runs-on : ubuntu-latest
55
57
strategy :
56
58
fail-fast : false
57
59
matrix :
58
60
python-version : ["3.12"] # Specify Python versions
59
- node-version : [20.x]
60
61
61
62
steps :
62
63
- name : Checkout repository
63
64
uses : actions/checkout@v4
64
65
65
- - name : Set up Node.js ${{ matrix.node-version }}
66
+ - name : Set up Node.js
66
67
uses : actions/setup-node@v4
67
68
with :
68
- node-version : ${{ matrix.node-version }}
69
+ node-version : ' 20 '
69
70
cache : ' npm'
70
71
71
- - name : Set up Python ${{ matrix.python-version }}
72
- uses : actions/setup-python@v5
73
- with :
74
- python-version : ${{ matrix.python-version }}
75
- cache : ' pip'
72
+ - name : Install Node.js dependencies
73
+ run : npm ci
76
74
77
75
- name : Install Google Chrome
78
76
run : |
@@ -130,6 +128,12 @@ jobs:
130
128
run : |
131
129
chromedriver --version
132
130
131
+ - name : Set up Python ${{ matrix.python-version }}
132
+ uses : actions/setup-python@v5
133
+ with :
134
+ python-version : ${{ matrix.python-version }}
135
+ cache : ' pip'
136
+
133
137
- name : Install Python dependencies
134
138
run : pip install -e .[ci,dev,testing]
135
139
0 commit comments