Skip to content

Commit 6f73f58

Browse files
committed
Update tests.yml
1 parent f47c1f6 commit 6f73f58

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: "3.11"
19+
20+
- name: Install Python dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install pytest
24+
25+
- name: Run Python tests (pytest)
26+
run: pytest
27+
28+
- name: Set up Node
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: "20"
32+
33+
- name: Install Node dependencies
34+
run: |
35+
npm ci
36+
37+
- name: Run Node tests (npm test)
38+
run: npm test

0 commit comments

Comments
 (0)