File tree Expand file tree Collapse file tree 5 files changed +58
-43
lines changed Expand file tree Collapse file tree 5 files changed +58
-43
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : pip
4+ directory : " /"
5+ schedule :
6+ interval : weekly
7+ - package-ecosystem : github-actions
8+ directory : " /"
9+ schedule :
10+ interval : weekly
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+
11+ PyTest :
12+ runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ python-version :
16+ - " 3.8"
17+ - " 3.9"
18+ - " 3.10"
19+
20+ steps :
21+ - uses : actions/checkout@v2
22+ - uses : actions/setup-python@v2
23+ with :
24+ python-version : ${{ matrix.python-version }}
25+ - run : python -m pip install --upgrade pip setuptools codecov
26+ - run : python -m pip install -e .[test]
27+ - run : relint **
28+ - run : py.test --cov=.
29+ - uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change 1- name : PyPi Release
1+ name : Release
22
3- on : [release]
3+ on :
4+ release :
5+ types : [published]
46
57jobs :
6- build :
78
9+ PyPi :
810 runs-on : ubuntu-latest
911 steps :
10- - uses : actions/checkout@v1
11- - uses : actions/setup-python@v1
12- - name : Install dependencies
13- run : python -m pip install --upgrade pip setuptools wheel twine
14- - name : Build dist packages
15- run : python setup.py sdist bdist_wheel
16- - name : Upload packages
17- run : python -m twine upload dist/*
12+ - uses : actions/checkout@v3
13+ - uses : actions/setup-python@v4
14+ with :
15+ python-version : " 3.10"
16+ - run : python -m pip install --upgrade pip build wheel twine
17+ - run : python -m build --sdist --wheel
18+ - run : python -m twine upload dist/*
1819 env :
1920 TWINE_USERNAME : ${{ secrets.TWINE_USERNAME }}
2021 TWINE_PASSWORD : ${{ secrets.TWINE_PASSWORD }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11[metadata]
22name = relint
3- author = Johannes Hoppe
4- 3+ author = Johannes Maron
4+ 55description = Write your own linting rules using regular expressions
66long_description = file: README.rst
77url = https://github.com/codingjoe/relint
88license = MIT
99license_file = LICENSE
1010classifier =
11- Development Status :: 4 - Beta
11+ Development Status :: 5 - Production/Stable
1212 Environment :: Console
1313 Intended Audience :: Developers
1414 License :: OSI Approved :: MIT License
@@ -25,12 +25,13 @@ keywords =
2525install_requires = PyYAML
2626setup_requires =
2727 setuptools_scm
28- pytest-runner
29- tests_require =
28+ py_modules = relint
29+
30+ [options.extras_require]
31+ test =
3032 pytest
3133 pytest-cov
3234 pytest-mock
33- py_modules = relint
3435
3536[options.entry_points]
3637console_scripts =
You can’t perform that action at this time.
0 commit comments