66
77jobs :
88 table-unit :
9- name : Table Node Tests (Node ${{ matrix.node -version }})
9+ name : Table Node Tests (Python ${{ matrix.python -version }})
1010 runs-on : ubuntu-latest
1111 strategy :
1212 fail-fast : false
1313 matrix :
14- python-version : ["3.12"]
15- node-version : [20.x]
14+ python-version : ["3.9","3.12"]
1615
1716 steps :
1817 - name : Checkout repository
1918 uses : actions/checkout@v4
2019
21- - name : Set up Node.js ${{ matrix.node-version }}
20+ - name : Set up Node.js
2221 uses : actions/setup-node@v4
2322 with :
24- node-version : ${{ matrix.node-version }}
23+ node-version : ' 20 '
2524 cache : ' npm'
2625
26+ - name : Install Node.js dependencies
27+ run : npm ci
28+
2729 - name : Set up Python ${{ matrix.python-version }}
2830 uses : actions/setup-python@v5
2931 with :
@@ -50,29 +52,25 @@ jobs:
5052 npm run test.unit
5153
5254 table-server :
53- name : Table Server Tests (Python ${{ matrix.python-version }})
55+ name : Table Server Tests
5456 runs-on : ubuntu-latest
5557 strategy :
5658 fail-fast : false
5759 matrix :
5860 python-version : ["3.12"] # Specify Python versions
59- node-version : [20.x]
6061
6162 steps :
6263 - name : Checkout repository
6364 uses : actions/checkout@v4
6465
65- - name : Set up Node.js ${{ matrix.node-version }}
66+ - name : Set up Node.js
6667 uses : actions/setup-node@v4
6768 with :
68- node-version : ${{ matrix.node-version }}
69+ node-version : ' 20 '
6970 cache : ' npm'
7071
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
7674
7775 - name : Install Google Chrome
7876 run : |
@@ -130,6 +128,12 @@ jobs:
130128 run : |
131129 chromedriver --version
132130
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+
133137 - name : Install Python dependencies
134138 run : pip install -e .[ci,dev,testing]
135139
0 commit comments