Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ApplicationTesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ jobs:
dependencies = [req.strip() for req in requirements.split(" ")]

packages = {
"aiohttp": "python-aiohttp:p",
"coverage": "python-coverage:p",
"docstr_coverage": "python-pyyaml:p python-types-pyyaml:p",
"igraph": "igraph:p",
Expand All @@ -154,6 +155,7 @@ jobs:
subPackages = {
"pytooling": {
"yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p",
"pypi": "python-aiohttp:p",
}
}

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/UnitTesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ jobs:
requirementsFile = Path(requirements)

if not requirementsFile.exists():
print(f"::error title=FileNotFoundError::{ex}")
print(f"::error title=FileNotFoundError::{requirementsFile}")
exit(1)

print(f"requirements file: {requirementsFile.as_posix()}")
Expand Down Expand Up @@ -273,6 +273,7 @@ jobs:
dependencies = [req.strip() for req in requirements.split(" ")]

packages = {
"aiohttp": "python-aiohttp:p",
"coverage": "python-coverage:p",
"docstr_coverage": "python-pyaml:p python-types-pyyaml:p",
"igraph": "igraph:p",
Expand All @@ -294,6 +295,7 @@ jobs:
subPackages = {
"pytooling": {
"yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p",
"pypi": "python-aiohttp:p",
},
}

Expand Down
2 changes: 1 addition & 1 deletion myPackage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
__email__ = "[email protected]"
__copyright__ = "2017-2025, Patrick Lehmann"
__license__ = "Apache License, Version 2.0"
__version__ = "7.0.1"
__version__ = "7.2.0"
__keywords__ = ["GitHub Actions"]
__issue_tracker__ = "https://GitHub.com/pyTooling/Actions/issues"

Expand Down
18 changes: 9 additions & 9 deletions tests/platform/Specific.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,55 +44,55 @@

class PlatformTesting(TestCase):
@mark.skipif(not CurrentPlatform.IsNativeLinux, reason="Skipped, if current platform isn't native Linux.")
def test_ApplicationOnNativeLinux(self):
def test_ApplicationOnNativeLinux(self) -> None:
app = Application()

self.assertEqual(1, app.Value)

@mark.skipif(not CurrentPlatform.IsNativeMacOS, reason="Skipped, if current platform isn't native macOS.")
def test_ApplicationOnNativeMacOS(self):
def test_ApplicationOnNativeMacOS(self) -> None:
app = Application()

self.assertEqual(2, app.Value)

@mark.skipif(not CurrentPlatform.IsNativeWindows, reason="Skipped, if current platform isn't native Windows.")
def test_ApplicationOnNativeWindows(self):
def test_ApplicationOnNativeWindows(self) -> None:
app = Application()

self.assertEqual(3, app.Value)

@mark.skipif(not CurrentPlatform.IsMSYSOnWindows, reason="Skipped, if current platform isn't MSYS on Windows.")
def test_ApplicationOnMSYS2OnWindows(self):
def test_ApplicationOnMSYS2OnWindows(self) -> None:
app = Application()

self.assertEqual(11, app.Value)

@mark.skipif(not CurrentPlatform.IsMinGW32OnWindows, reason="Skipped, if current platform isn't MinGW32 on Windows.")
def test_ApplicationOnMinGW32OnWindows(self):
def test_ApplicationOnMinGW32OnWindows(self) -> None:
app = Application()

self.assertEqual(12, app.Value)

@mark.skipif(not CurrentPlatform.IsMinGW64OnWindows, reason="Skipped, if current platform isn't MinGW64 on Windows.")
def test_ApplicationOnMinGW64OnWindows(self):
def test_ApplicationOnMinGW64OnWindows(self) -> None:
app = Application()

self.assertEqual(13, app.Value)

@mark.skipif(not CurrentPlatform.IsUCRT64OnWindows, reason="Skipped, if current platform isn't UCRT64 on Windows.")
def test_ApplicationOnURTC64OnWindows(self):
def test_ApplicationOnURTC64OnWindows(self) -> None:
app = Application()

self.assertEqual(14, app.Value)

@mark.skipif(not CurrentPlatform.IsClang32OnWindows, reason="Skipped, if current platform isn't Clang32 on Windows.")
def test_ApplicationOnClang32OnWindows(self):
def test_ApplicationOnClang32OnWindows(self) -> None:
app = Application()

self.assertEqual(15, app.Value)

@mark.skipif(not CurrentPlatform.IsClang64OnWindows, reason="Skipped, if current platform isn't Clang64 on Windows.")
def test_ApplicationOnClang64OnWindows(self):
def test_ApplicationOnClang64OnWindows(self) -> None:
app = Application()

self.assertEqual(16, app.Value)
2 changes: 1 addition & 1 deletion tests/unit/AppInit.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@


class Instantiation(TestCase):
def test_Application(self):
def test_Application(self) -> None:
app = Application()

self.assertGreater(app.Value, 0)
Loading