Skip to content

Commit 8eb5d45

Browse files
Support for updated docker image creation (#1)
2 parents ebd5b45 + 659c331 commit 8eb5d45

5 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
pull_request:
1818
branches: [ "main" ]
1919
schedule:
20-
- cron: '50 10 * * *'
20+
- cron: '16 11 * * *'
2121

2222
jobs:
2323
analyze:

.github/workflows/standard.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ jobs:
192192
python_version: ${{ matrix.python_version }}
193193
name_suffix: -${{ matrix.python_version }}
194194
bootstrap_args: ""
195+
docker_description: "PythonProjectBootstrapperTest - ${{ matrix.python_version }}"
196+
push_image_as_package: true
195197

196198

197199
# ----------------------------------------------------------------------

Build.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,29 @@ def list_commands(self, *args, **kwargs): # pylint: disable=unused-argument
3838
# ----------------------------------------------------------------------
3939
this_dir = PathEx.EnsureDir(Path(__file__).parent)
4040
src_dir = PathEx.EnsureDir(this_dir / "src")
41+
package_dir = PathEx.EnsureDir(src_dir / "PythonProjectBootstrapperTest")
4142
tests_dir = PathEx.EnsureDir(this_dir / "tests")
4243

4344

4445
# ----------------------------------------------------------------------
4546
Black = RepoBuildTools.BlackFuncFactory(this_dir, app)
4647

4748
Pylint = RepoBuildTools.PylintFuncFactory(
48-
src_dir / "PythonProjectBootstrapperTest",
49+
package_dir,
4950
app,
5051
default_min_score=9.5,
5152
)
5253

5354
Pytest = RepoBuildTools.PytestFuncFactory(
5455
tests_dir,
55-
"PythonProjectBootstrapperTest",
56+
package_dir.name,
5657
app,
5758
default_min_coverage=90.0,
5859
)
5960

6061
UpdateVersion = RepoBuildTools.UpdateVersionFuncFactory(
6162
src_dir,
62-
PathEx.EnsureFile(src_dir / "PythonProjectBootstrapperTest" / "__init__.py"),
63+
PathEx.EnsureFile(package_dir / "__init__.py"),
6364
app,
6465
)
6566

LICENSE.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
MIT LICENSE
2+
13
Copyright (c) 2024 Scientific Software Engineering Center at Georgia Tech
24

35
Permission is hereby granted, free of charge, to any person obtaining a copy

src/PythonProjectBootstrapperTest/Math.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
# ----------------------------------------------------------------------
77
"""Basic math functions. This file illustrates how to create a python package that contains functions that can be invoked by other python code."""
88

9-
# This is a change to force a publish
10-
119

1210
# ----------------------------------------------------------------------
1311
def Add(x, y):

0 commit comments

Comments
 (0)