Skip to content

Commit 16b0ada

Browse files
committed
Add CI workflow
1 parent 63e9150 commit 16b0ada

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI Pipeline
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Python
20+
uses: actions/setup-python@v5
21+
22+
- name: Install dependecies (vote app)
23+
run: |
24+
cd vote
25+
pip install -r requirement.txt
26+
27+
- name: Run simple test
28+
run: |
29+
cd vote
30+
python -m py_compile app.py

0 commit comments

Comments
 (0)