Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit e51f202

Browse files
ci: Updated PNG configloader plugin in testing.yml
- Updated PNG configloader plugin in testing.yml - Added numpy requirement in configloader/png - Deleted config.py file in dffml_config_yaml - Changed congfig to configloader in test_config Fixes: #501
1 parent 154f34f commit e51f202

File tree

4 files changed

+4
-36
lines changed

4 files changed

+4
-36
lines changed

.github/workflows/testing.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
fail-fast: false
5252
max-parallel: 40
5353
matrix:
54-
plugin: [., examples/shouldi, model/tensorflow, model/tensorflow_hub, model/transformers, model/scratch, model/scikit, source/mysql, feature/git, feature/auth, service/http, configloader/yaml]
54+
plugin: [., examples/shouldi, model/tensorflow, model/tensorflow_hub, model/transformers, model/scratch, model/scikit, source/mysql, feature/git, feature/auth, service/http, configloader/yaml, configloader/png]
5555
python-version: [3.7]
5656

5757
steps:
@@ -106,6 +106,7 @@ jobs:
106106
feature/auth=${{ secrets.PYPI_FEATURE_AUTH }}
107107
service/http=${{ secrets.PYPI_SERVICE_HTTP }}
108108
configloader/yaml=${{ secrets.PYPI_CONFIG_YAML }}
109+
configloader/png=${{ secrets.PYPI_CONFIG_PNG }}
109110
EOF
110111
export TWINE_USERNAME=__token__
111112
if [ "x${PLUGIN}" = "x." ]; then

configloader/png/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
common.KWARGS["install_requires"] += [
1313
"Pillow>=7.0.0",
14+
"numpy>=1.16.2",
1415
]
1516
common.KWARGS["entry_points"] = {
1617
"dffml.configloader": [

configloader/yaml/dffml_config_yaml/config.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

configloader/yaml/tests/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from dffml.util.asynctestcase import AsyncTestCase
22

3-
from dffml_config_yaml.config import YamlConfigLoader
3+
from dffml_config_yaml.configloader import YamlConfigLoader
44

55

66
class TestConfig(AsyncTestCase):

0 commit comments

Comments
 (0)