-
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.
- Loading branch information
1 parent
23128e6
commit 7b2749c
Showing
9 changed files
with
114 additions
and
75 deletions.
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
dist: xenial | ||
|
||
language: python | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- env: TOX_ENV=py36 | ||
python: 3.6 | ||
- env: TOX_ENV=py36 | ||
python: 3.6 | ||
- env: TOX_ENV=py37 | ||
python: 3.7 | ||
- env: TOX_ENV=py38 | ||
python: 3.8 | ||
- env: TOX_ENV=pypy | ||
python: pypy | ||
install: pip install -r requirements/testing.txt | ||
|
||
before_script: | ||
- sleep 10 | ||
|
||
script: tox -e $TOX_ENV | ||
|
||
after_success: | ||
- pip install coveralls | ||
- coveralls |
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
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
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,4 +1 @@ | ||
-r code_style.txt | ||
-r debug.txt | ||
-r test.txt | ||
|
||
GitPython>=3.0.0 |
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,2 +1,3 @@ | ||
-r base.txt | ||
-r code_style.txt | ||
-r test.txt |
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
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
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
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,50 +1,49 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
import copy | ||
import logging | ||
import os | ||
import unittest | ||
|
||
from ..utils import ( | ||
create_config_file, | ||
generate_changelog_cli, | ||
generate_empty_tree, | ||
get_branch_type, | ||
get_logs, | ||
json_changelog_cli, | ||
prepare_changelog, | ||
prepare_releases_changelog, | ||
validate_between, | ||
) | ||
|
||
from .base import internet_available_only, log_info | ||
|
||
__title__ = 'matyan.tests.test_core' | ||
__author__ = 'Artur Barseghyan' | ||
__copyright__ = '2019 Artur Barseghyan' | ||
__license__ = 'GPL-2.0-only OR LGPL-2.0-or-later' | ||
__all__ = ('TestCore',) | ||
|
||
LOGGER = logging.getLogger(__name__) | ||
|
||
|
||
class TestCore(unittest.TestCase): | ||
"""Core matyan functionality tests.""" | ||
|
||
def setUp(self): | ||
"""Set up.""" | ||
# TODO | ||
|
||
def tearDown(self): | ||
"""Tear down.""" | ||
# TODO | ||
|
||
@internet_available_only | ||
@log_info | ||
def test_01_generate_changelog_command(self): | ||
"""Test generate changelog.""" | ||
# TODO | ||
|
||
|
||
if __name__ == '__main__': | ||
unittest.main() | ||
# # -*- coding: utf-8 -*- | ||
# | ||
# import copy | ||
# import logging | ||
# import os | ||
# import unittest | ||
# | ||
# from ..utils import ( | ||
# create_config_file, | ||
# generate_changelog_cli, | ||
# generate_empty_tree, | ||
# get_branch_type, | ||
# get_logs, | ||
# json_changelog_cli, | ||
# prepare_changelog, | ||
# prepare_releases_changelog, | ||
# validate_between, | ||
# ) | ||
# | ||
# from .base import internet_available_only, log_info | ||
# | ||
# __author__ = 'Artur Barseghyan' | ||
# __copyright__ = '2019 Artur Barseghyan' | ||
# __license__ = 'GPL-2.0-only OR LGPL-2.0-or-later' | ||
# __all__ = ('TestCore',) | ||
# | ||
# LOGGER = logging.getLogger(__name__) | ||
# | ||
# | ||
# class TestCore(unittest.TestCase): | ||
# """Core matyan functionality tests.""" | ||
# | ||
# def setUp(self): | ||
# """Set up.""" | ||
# # TODO | ||
# | ||
# def tearDown(self): | ||
# """Tear down.""" | ||
# # TODO | ||
# | ||
# @internet_available_only | ||
# @log_info | ||
# def test_01_generate_changelog_command(self): | ||
# """Test generate changelog.""" | ||
# # TODO | ||
# | ||
# | ||
# if __name__ == '__main__': | ||
# unittest.main() |