File tree Expand file tree Collapse file tree 2 files changed +36
-8
lines changed
Expand file tree Collapse file tree 2 files changed +36
-8
lines changed Original file line number Diff line number Diff line change 1+ name : Linting Tests
2+ # Only for last versions of python
3+
4+ on :
5+ push :
6+ branches :
7+ - master
8+ tags :
9+ - " *"
10+ pull_request :
11+ branches :
12+ - " *"
13+
14+ jobs :
15+ build :
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ include :
20+ - name : " linting"
21+ python : " 3.8"
22+ os : ubuntu-latest
23+ tox_env : " lint"
24+
25+ steps :
26+ - uses : actions/checkout@v2
27+ - name : Set up Python ${{ matrix.python }}
28+ uses : actions/setup-python@v1
29+ with :
30+ python-version : ${{ matrix.python }}
31+ - name : Install dependencies
32+ run : |
33+ python -m pip install --upgrade pip
34+ pip install tox virtualenv
35+ - name : Test build
36+ run : " tox -e ${{ matrix.tox_env }}"
Original file line number Diff line number Diff line change 1212
1313jobs :
1414 build :
15- runs-on : ${{ matrix.os }}
1615 strategy :
1716 fail-fast : false
1817 matrix :
1918 mongodb-version : [3.6, 4.0, 4.2]
20-
2119 include :
22- - name : " linting"
23- python : " 3.8"
24- os : ubuntu-latest
25- tox_env : " lint"
26- mongodb-version : 4.2
27-
2820 - name : " ubuntu-py36"
2921 python : " 3.6"
3022 os : ubuntu-latest
You can’t perform that action at this time.
0 commit comments