File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ python-version : [3.6, 3.9]
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : actions/setup-python@v2
14+ with :
15+ python-version : ${{ matrix.python-version }}
16+ - name : Install
17+ run : |
18+ python -mpip install --upgrade pip wheel pytest pytest-cov
19+ case '${{ matrix.python-version }}' in
20+ 3.6)
21+ pip install ipython==4.1.0;;
22+ 3.9)
23+ ;;
24+ *)
25+ exit 1;;
26+ esac
27+ python -mpip install .
28+ - name : Test
29+ run : |
30+ python -mpytest --cov --cov-branch
31+ python -mcoverage report --show-missing
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11ipython-autoimport
22==================
33
4- |PyPI | | Travis | |CodeCov |
4+ | |GitHub| |PyPI | |Build |
55
6- .. |PyPI | image :: https://img.shields.io/pypi/v/ipython-autoimport.svg
6+ .. |GitHub|
7+ image:: https://img.shields.io/badge/github-anntzer%2Fdefopt-brightgreen
8+ :target: https://github.com/anntzer/ipython-autoimport
9+ .. |PyPI|
10+ image:: https://img.shields.io/pypi/v/ipython-autoimport.svg?color=brightgreen
711 :target: https://pypi.python.org/pypi/ipython-autoimport
8- .. |Travis | image :: https://travis-ci.org/anntzer/ipython-autoimport.svg?branch=master
9- :target: https://travis-ci.org/anntzer/ipython-autoimport
10- .. |CodeCov | image :: https://codecov.io/gh/anntzer/ipython-autoimport/master.svg
11- :target: https://codecov.io/gh/anntzer/ipython-autoimport
12+ .. |Build|
13+ image:: https://img.shields.io/github/workflow/status/anntzer/ipython-autoimport/build
14+ :target: https://github.com/anntzer/ipython-autoimport/actions
1215
1316 Automagically import missing modules in IPython: instead of ::
1417
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1616 ],
1717 py_modules = ["ipython_autoimport" ],
1818 package_dir = {"" : "lib" },
19- python_requires = ">=3.4 " ,
19+ python_requires = ">=3.6 " ,
2020 setup_requires = ["setuptools_scm" ],
2121 use_scm_version = lambda : {
2222 "version_scheme" : "post-release" ,
You can’t perform that action at this time.
0 commit comments