aboutsummaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorMax Nanis2026-08-31 12:53:21 -0700
committerMax Nanis2026-08-31 12:53:21 -0700
commit340f0b93a0ad79124635015d1b2270884521bdc3 (patch)
treee5036c38c0fe5d9c05d5ea4277500bf27e98c9d9 /Jenkinsfile
parent5598426e67f1a502aca68fd566d34216b2315482 (diff)
downloadgeneralresearch-340f0b93a0ad79124635015d1b2270884521bdc3.tar.gz
generalresearch-340f0b93a0ad79124635015d1b2270884521bdc3.zip
rename matrix so the UI shows the actual values
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 60838ca..de909b2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -30,11 +30,11 @@ pipeline {
}
}
- stage('python versions') {
+ stage('Python Versions') {
matrix {
axes {
axis {
- name 'PYTHON_VERSION'
+ name 'VER'
values 'python3.14', 'python3.13', 'python3.12'
}
}
@@ -42,7 +42,7 @@ pipeline {
stages {
stage('Setup') {
steps {
- dir("generalresearch-${PYTHON_VERSION}") {
+ dir("generalresearch-${VER}") {
deleteDir()
unstash 'source'
@@ -51,18 +51,18 @@ pipeline {
variable: 'ENV_TEST_FILE')]) {
sh 'cp $ENV_TEST_FILE .env.test'
}
- sh "/usr/local/bin/${PYTHON_VERSION} -m venv ${VENV}-${PYTHON_VERSION}"
- sh "${VENV}-${PYTHON_VERSION}/bin/pip install -U setuptools wheel pip"
- sh "${VENV}-${PYTHON_VERSION}/bin/pip install '.'"
- sh "${VENV}-${PYTHON_VERSION}/bin/pip install '.[django,dask]'"
+ sh "/usr/local/bin/${VER} -m venv ${VENV}-${VER}"
+ sh "${VENV}-${VER}/bin/pip install -U setuptools wheel pip"
+ sh "${VENV}-${VER}/bin/pip install '.'"
+ sh "${VENV}-${VER}/bin/pip install '.[django,dask]'"
}
}
}
stage('base') {
steps {
- dir("generalresearch-${PYTHON_VERSION}") {
- sh "${VENV}-${PYTHON_VERSION}/bin/pytest tests/models/gr/test_base.py -vs"
+ dir("generalresearch-${VER}") {
+ sh "${VENV}-${VER}/bin/pytest tests/models/gr/test_base.py -vs"
}
}
}