Skip to content

Commit 88804e0

Browse files
authored
fix: coverage action (#5534)
1 parent 1e7bf81 commit 88804e0

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,17 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v6
1616

17-
- uses: actions/setup-node@v6
17+
- name: Set up Python 3.10
18+
uses: actions/setup-python@v6
19+
with:
20+
python-version: "3.10"
21+
cache: "pip"
22+
23+
- name: Set up Node.js
24+
uses: actions/setup-node@v6
1825
with:
1926
node-version: 20
27+
cache: "yarn"
2028

2129
- name: Install JS dependencies
2230
run: yarn install --immutable
@@ -28,10 +36,9 @@ jobs:
2836
2937
- name: Install Python requirements
3038
run: |
31-
sudo pip3 install -r requirements.txt
32-
33-
- name: Install Python dependencies
34-
run: sudo pip3 install coverage
39+
python -m pip install --upgrade pip
40+
pip3 install -r requirements.txt
41+
pip3 install coverage
3542
3643
- name: Run Python tests with coverage
3744
run: |
@@ -126,7 +133,7 @@ jobs:
126133
- name: Set up Node.js
127134
uses: actions/setup-node@v6
128135
with:
129-
node-version: "22"
136+
node-version: 20
130137
cache: "yarn"
131138

132139
- name: Install Python requirements

0 commit comments

Comments
 (0)