Skip to content

Commit f3d54b3

Browse files
authored
Merge pull request #2 from Groupify-SCE/dev
Added CI/CD Process
2 parents 8cfdb3e + 65d524f commit f3d54b3

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/cicd.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Python CI/CD
2+
3+
on:
4+
push:
5+
branches:
6+
- stage
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v3
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: '3.12'
23+
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r requirements.txt
28+
29+
- name: Run tests
30+
run: |
31+
pytest

0 commit comments

Comments
 (0)