Danila-Pechenev commited on
Commit
9b5aba1
1 Parent(s): 8f9ef52

Add `ci.yml` file for CI

Browse files
Files changed (1) hide show
  1. .github/workflows/ci.yml +6 -1
.github/workflows/ci.yml CHANGED
@@ -10,6 +10,10 @@ jobs:
10
  - uses: actions/checkout@v3
11
  - name: Run linter
12
  uses: psf/black@stable
 
 
 
 
13
  mypy:
14
  name: Mypy
15
  runs-on: ubuntu-latest
@@ -35,6 +39,7 @@ jobs:
35
  python-version: 3.10
36
  - name: Install dependencies
37
  run: |
38
- pip install
 
39
  - name: Run tests
40
  run: pytest
 
10
  - uses: actions/checkout@v3
11
  - name: Run linter
12
  uses: psf/black@stable
13
+ with:
14
+ options: "--check —verbose -l 120"
15
+ src: "./app"
16
+ version: "~= 22.0"
17
  mypy:
18
  name: Mypy
19
  runs-on: ubuntu-latest
 
39
  python-version: 3.10
40
  - name: Install dependencies
41
  run: |
42
+ pip install pytest
43
+ pip install -r app/requirements.txt
44
  - name: Run tests
45
  run: pytest