File tree Expand file tree Collapse file tree 4 files changed +199
-179
lines changed Expand file tree Collapse file tree 4 files changed +199
-179
lines changed Original file line number Diff line number Diff line change 1+ # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
3+ # shown in badge
4+ # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/configuring-a-workflow#adding-a-workflow-status-badge-to-your-repository
5+ name : tests
6+
7+ on :
8+ push :
9+ pull_request :
10+ schedule :
11+ - cron : ' 0 20 * * 5'
12+
13+ jobs :
14+ tests :
15+ runs-on : ubuntu-20.04
16+ strategy :
17+ matrix :
18+ python-version :
19+ - 3.5
20+ - 3.6
21+ - 3.7
22+ - 3.8
23+ - 3.9
24+ fail-fast : false
25+ steps :
26+ - uses : actions/checkout@v1
27+ - uses : actions/setup-python@v1
28+ with :
29+ python-version : ${{ matrix.python-version }}
30+ - run : pip install --upgrade pipenv==2020.8.13
31+ - run : pipenv install --python "$PYTHON_VERSION" --deploy --dev
32+ env :
33+ PYTHON_VERSION : ${{ matrix.python-version }}
34+ - run : pipenv graph
35+ - run : pipenv run pytest --cov="$(cat *.egg-info/top_level.txt)" --cov-report=term-missing --cov-fail-under=100
36+ - run : pipenv run pylint "$(cat *.egg-info/top_level.txt)" tests/*
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,9 +7,24 @@ verify_ssl = true
77dlinfo = {editable = true ,path = " ." }
88
99[dev-packages ]
10- pytest = " *"
10+ # pytest = "*"
1111pytest-cov = " *"
12- pylint = " >=2.3.0"
12+ # pylint = "*"
13+
14+ # python3.5 compatibility
15+ # https://github.com/PyCQA/astroid/commit/d81f07becf3243a84e0baaa3493ce74cafed8022#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7R52
16+ astroid = " <2.5"
17+ # https://github.com/python/importlib_metadata/commit/107f9029fd5807c6579b881db19e11a0488f0675
18+ importlib-metadata = " <3"
19+ isort = " <5"
20+ # workaround https://github.com/pytest-dev/pytest/issues/3953
21+ pathlib2 = {version = " *" , markers =" python_version < '3.6'" }
22+ # https://github.com/PyCQA/pylint/commit/6e2de8e3a2e2c5586e876ca305f0844bdd822db3
23+ pylint = " <2.7"
24+ # https://github.com/pytest-dev/pytest/commit/179f4326df2b644f0ab73f78e4770dafcbdcd89f#diff-fa602a8a75dc9dcc92261bac5f533c2a85e34fcceaff63b3a3a81d9acde2fc52R52
25+ pytest = " <6.2"
26+ # https://github.com/jaraco/zipp/commit/05a3c52b4d41690e0471a2e283cffb500dc0329a
27+ zipp = " <2"
1328
1429[requires ]
1530python_version = " 3"
You can’t perform that action at this time.
0 commit comments