Skip to content

Commit 968929e

Browse files
added ci
1 parent 0b8bcd9 commit 968929e

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
lint:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: 3.13
22+
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install poetry
27+
poetry config virtualenvs.create false
28+
poetry install --with dev
29+
poetry run setup
30+
31+
- name: Run Pre-commit checks
32+
uses: pre-commit/action@v4
33+
with:
34+
extra_args: --all-files

0 commit comments

Comments
 (0)