File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed
Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ tags :
8+ - " *"
9+ pull_request :
10+ branches :
11+ - " *"
12+
13+ jobs :
14+ build :
15+ runs-on : ${{ matrix.os }}
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ mongodb-version : [3.6, 4.0, 4.2]
20+
21+ include :
22+ - name : " linting"
23+ python : " 3.8"
24+ os : ubuntu-latest
25+ tox_env : " lint"
26+ mongodb-version : 4.2
27+
28+ - name : " ubuntu-py36"
29+ python : " 3.6"
30+ os : ubuntu-latest
31+ tox_env : " py36"
32+ - name : " ubuntu-py37"
33+ python : " 3.7"
34+ os : ubuntu-latest
35+ tox_env : " py37"
36+ - name : " ubuntu-py38"
37+ python : " 3.8"
38+ os : ubuntu-latest
39+ tox_env : " py38"
40+ - name : " ubuntu-pypy3"
41+ python : " pypy3"
42+ os : ubuntu-latest
43+ tox_env : " pypy3"
44+
45+ steps :
46+ - uses : actions/checkout@v2
47+ - name : Set up Python ${{ matrix.python }}
48+ uses : actions/setup-python@v1
49+ with :
50+ python-version : ${{ matrix.python }}
51+ - name : Install dependencies
52+ run : |
53+ python -m pip install --upgrade pip
54+ pip install tox virtualenv
55+ - name : Start MongoDB
56+ uses : supercharge/mongodb-github-action@1.3.0
57+ with :
58+ mongodb-version : ${{ matrix.mongodb-version }}
59+ - name : Test build
60+ run : " tox -e ${{ matrix.tox_env }}"
You can’t perform that action at this time.
0 commit comments