File tree Expand file tree Collapse file tree 3 files changed +69
-0
lines changed
Expand file tree Collapse file tree 3 files changed +69
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ pull_request :
3+ branches :
4+ - main
5+ name : mypy
6+ jobs :
7+ mypy :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v2
12+ - name : Setup Python
13+ uses : actions/setup-python@v2
14+ with :
15+ python-version : " 3.8"
16+ - name : Install nox
17+ run : |
18+ python -m pip install --upgrade setuptools pip wheel
19+ python -m pip install nox
20+ - name : Run mypy
21+ run : |
22+ nox -s mypy
Original file line number Diff line number Diff line change 1+ on :
2+ pull_request :
3+ branches :
4+ - main
5+ name : pytype
6+ jobs :
7+ pytype :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v2
12+ - name : Setup Python
13+ uses : actions/setup-python@v2
14+ with :
15+ python-version : " 3.8"
16+ - name : Install nox
17+ run : |
18+ python -m pip install --upgrade setuptools pip wheel
19+ python -m pip install nox
20+ - name : Run pytype
21+ run : |
22+ nox -s pytype
Original file line number Diff line number Diff line change 1+ on :
2+ pull_request :
3+ branches :
4+ - main
5+ name : unit_noextras
6+ jobs :
7+ unit_noextras :
8+ runs-on : ubuntu-latest
9+ strategy :
10+ matrix :
11+ python : ['3.6', '3.10']
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v2
15+ - name : Setup Python
16+ uses : actions/setup-python@v2
17+ with :
18+ python-version : ${{ matrix.python }}
19+ - name : Install nox
20+ run : |
21+ python -m pip install --upgrade setuptools pip wheel
22+ python -m pip install nox
23+ - name : Run unit tests; hold the extras
24+ run : |
25+ nox -s unit_noextras-${{ matrix.python }}
You can’t perform that action at this time.
0 commit comments