We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4c5e0a commit 117faceCopy full SHA for 117face
.github/workflows/ci.yml
@@ -0,0 +1,33 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build_and_test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v3
15
16
+ - name: Set up Python 3.9
17
+ uses: actions/setup-python@v4
18
+ with:
19
+ python-version: '3.9'
20
21
+ - name: Install dependencies
22
+ run: |
23
+ python -m pip install --upgrade pip
24
+ pip install -r requirements.txt
25
+ pip install -r requirements-dev.txt
26
27
+ - name: Lint with flake8
28
29
+ flake8 src/
30
31
+ - name: Run tests
32
33
+ pytest --maxfail=1 --disable-warnings -q
0 commit comments