From 286ca0b5a54d42b45a8a7a624422e1c6b00eb5e1 Mon Sep 17 00:00:00 2001 From: Harrison Date: Sat, 22 Apr 2023 16:37:03 -0500 Subject: [PATCH] Added step to test installation --- Jenkinsfile | 1 + renamebycsv/{renamebycsv.py => cli.py} | 0 setup.cfg | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) rename renamebycsv/{renamebycsv.py => cli.py} (100%) diff --git a/Jenkinsfile b/Jenkinsfile index 1460814..dd10be4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,6 +20,7 @@ pipeline { stage("test") { steps { sh "pip install dist/*.whl" + sh "renamebycsv -h" } } stage("archive") { diff --git a/renamebycsv/renamebycsv.py b/renamebycsv/cli.py similarity index 100% rename from renamebycsv/renamebycsv.py rename to renamebycsv/cli.py diff --git a/setup.cfg b/setup.cfg index ca39691..35b0cf0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,4 +7,4 @@ packages = renamebycsv [options.entry_points] console_scripts = - renamebycsv = renamebycsv.renamebycsv:main \ No newline at end of file + renamebycsv = renamebycsv.cli:main \ No newline at end of file