-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gareth] Add files for poetry, tests, and release-tools
This commit adds the support of poetry, test suite files, and some additional files which are required for managing releases using https://github.com/Bitergia/release-tools. Signed-off-by: Venu Vardhan Reddy Tekula <[email protected]>
- Loading branch information
Showing
8 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,3 +127,6 @@ dmypy.json | |
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# Other | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
# gareth | ||
# gareth | ||
|
||
Tool to automate the developer setup of GrimoireLab. | ||
|
||
This software is licensed under GPL3 or later. | ||
|
||
## Requirements | ||
|
||
* Python >= 3.6 | ||
* Poetry >= 1.0 | ||
|
||
## License | ||
|
||
Licensed under GNU General Public License (GPL), version 3 or later. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "0.0.0" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[tool.poetry] | ||
name = "gareth" | ||
version = "0.0.0" | ||
description = "Tool to automate the developer setup of GrimoireLab" | ||
authors = [ | ||
"Venu Vardhan Reddy Tekula <[email protected]>" | ||
] | ||
license = "GPL-3.0-or-later" | ||
|
||
readme = "README.md" | ||
|
||
packages = [ | ||
{ include = "gareth"}, | ||
{ include = "tests", format = "sdist" }, | ||
] | ||
|
||
include = [ | ||
"AUTHORS", | ||
"README.md", | ||
"LICENSE", | ||
"NEWS" | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" | ||
|
||
[tool.poetry.dev-dependencies] | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2020 Bitergia | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
# Authors: | ||
# Venu Vardhan Reddy Tekula <[email protected]> | ||
# | ||
|
||
|
||
import sys | ||
import unittest | ||
|
||
|
||
if __name__ == '__main__': | ||
test_suite = unittest.TestLoader().discover('.', pattern='test*.py') | ||
result = unittest.TextTestRunner(buffer=True).run(test_suite) | ||
sys.exit(not result.wasSuccessful()) |