Refactored code structure and added steps to CI
All checks were successful
ydeng/filterfasta/pipeline/head This commit looks good

CI now archives build and tests if CLI works
This commit is contained in:
Harrison Deng 2023-04-24 09:45:47 -05:00
parent 6e6d7a6c43
commit 953bb8f507
3 changed files with 8 additions and 2 deletions

6
Jenkinsfile vendored
View File

@ -20,6 +20,12 @@ pipeline {
stage("test") { stage("test") {
steps { steps {
sh "pip install dist/*.whl" sh "pip install dist/*.whl"
sh "filterfasta -h"
}
}
stage("archive") {
steps {
archiveArtifacts artifacts: 'dist/*.tar.gz, dist/*.whl'
} }
} }
stage("publish") { stage("publish") {

View File

@ -1,10 +1,10 @@
[metadata] [metadata]
name = filterfasta name = filterfasta
version = 0.0.1 version = 0.0.2
[options] [options]
packages = filterfasta packages = filterfasta
[options.entry_points] [options.entry_points]
console_scripts = console_scripts =
filterfasta = filterfasta.filterfasta:main filterfasta = filterfasta.cli:main