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
2
2
3
- on : [release]
3
+ on :
4
+ release :
5
+ types : [published]
4
6
5
7
jobs :
6
- build :
7
8
9
+ PyPi :
8
10
runs-on : ubuntu-latest
9
11
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/*
18
19
env :
19
20
TWINE_USERNAME : ${{ secrets.TWINE_USERNAME }}
20
21
TWINE_PASSWORD : ${{ secrets.TWINE_PASSWORD }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[metadata]
2
2
name = relint
3
- author = Johannes Hoppe
4
-
3
+ author = Johannes Maron
4
+
5
5
description = Write your own linting rules using regular expressions
6
6
long_description = file: README.rst
7
7
url = https://github.com/codingjoe/relint
8
8
license = MIT
9
9
license_file = LICENSE
10
10
classifier =
11
- Development Status :: 4 - Beta
11
+ Development Status :: 5 - Production/Stable
12
12
Environment :: Console
13
13
Intended Audience :: Developers
14
14
License :: OSI Approved :: MIT License
@@ -25,12 +25,13 @@ keywords =
25
25
install_requires = PyYAML
26
26
setup_requires =
27
27
setuptools_scm
28
- pytest-runner
29
- tests_require =
28
+ py_modules = relint
29
+
30
+ [options.extras_require]
31
+ test =
30
32
pytest
31
33
pytest-cov
32
34
pytest-mock
33
- py_modules = relint
34
35
35
36
[options.entry_points]
36
37
console_scripts =
You can’t perform that action at this time.
0 commit comments