Skip to content

Commit 44ab523

Browse files
committed
Add initial CI workflow
1 parent 02d4e9b commit 44ab523

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
tests:
5+
name: Check
6+
runs-on: ubuntu-22.04
7+
steps:
8+
- uses: actions/checkout@v2
9+
- uses: actions/setup-python@v2
10+
with:
11+
python-version: "3.11"
12+
- name: Install dependencies
13+
run: pip install -r requirements-dev.txt
14+
- name: Run flake8
15+
run: flake8
16+
- name: Run isort
17+
run: isort --check --diff .

requirements-dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
flake8~=7.0
2+
isort~=5.13

0 commit comments

Comments
 (0)