Skip to content

Commit e2ef2d1

Browse files
authored
Merge pull request #12 from yaacov/add-workflow-ci
Add ci
2 parents c18bef1 + 0207b5c commit e2ef2d1

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/ci.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
11+
- name: Set up Python
12+
uses: actions/setup-python@v4
13+
with:
14+
python-version: |
15+
3.9
16+
3.12
17+
18+
- name: Install dependencies
19+
run: pip install --no-cache-dir -r requirements.txt
20+
21+
- name: Install dev dependencies
22+
run: pip install --no-cache-dir -r requirements-dev.txt
23+
24+
- name: Lint
25+
run: make lint
26+
27+
- name: Run tests
28+
run: make test
29+
30+
- name: Run code quality test
31+
run: make code-quality

0 commit comments

Comments
 (0)