Skip to content

Commit c223a40

Browse files
committed
Add CI pipeline
1 parent 15761cc commit c223a40

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/ci_pipeline.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Run Pytest
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: 📥 Checkout code
11+
uses: actions/checkout@v3
12+
13+
- name: 🐍 Set up Python
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: '3.10' # or whatever version you need
17+
18+
- name: 📦 Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install -r requirements.txt
22+
pip install pytest
23+
24+
- name: 🧪 Run Pytest
25+
run: |
26+
pytest

0 commit comments

Comments
 (0)