Skip to content

Commit 02f57b1

Browse files
authored
Add multi-language CI workflow for Python and JavaScript
1 parent 44920cd commit 02f57b1

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Multi-Language CI
2+
on: [push, pull_request]
3+
4+
jobs:
5+
python-tests:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
- uses: actions/setup-python@v4
10+
with:
11+
python-version: '3.11'
12+
- [cite_start]run: pip install -r requirements.txt # Uses requirements from Ex 4 [cite: 238]
13+
- run: pytest -v
14+
15+
javascript-tests:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: '20'
22+
- [cite_start]run: npm install # Installs Jest [cite: 247]
23+
- [cite_start]run: npm test # Runs stringUtils.test.js [cite: 248]

0 commit comments

Comments
 (0)