-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (30 loc) · 893 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: IPO Checker
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9' ]
name: Python ${{ matrix.python-version }} sample
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install pipenv
run: python -m pip install --upgrade pipenv
- name: Install dependencies
run: pipenv install --dev
- name: Black Format
run: pipenv run black --check --diff .
- name: Check typing
run: pipenv run mypy ipo_checker --install-types && pipenv run mypy ipo_checker
- name: Run tests
run: pipenv run pytest -vvv