Skip to content

Commit e8551b5

Browse files
committed
chore: add github workflows.
1 parent 7363609 commit e8551b5

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/ci.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
strategy:
16+
matrix:
17+
python-version: [3.12]
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v2
22+
23+
- name: Set up Python ${{ matrix.python-version }}
24+
uses: actions/setup-python@v2
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
28+
- name: Install dependencies
29+
run: |
30+
cd falcon_backend/
31+
python -m pip install --upgrade pip
32+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
33+
34+
- name: Run tests
35+
run: |
36+
pytest

0 commit comments

Comments
 (0)