add tests

This commit is contained in:
nell
2024-07-24 08:38:25 +00:00
parent 8bf189f717
commit 02b43f9ff3

16
Jenkinsfile vendored
View File

@@ -1,16 +1,22 @@
pipeline {
agent {
docker {
image "python:slim"
}
image 'python:slim'
}
}
stages {
stage("install_dep") {
stage('install_dep') {
steps {
sh "pip install -r requirements/dev.txt"
sh 'pip install -r requirements/dev.txt && python manage.py migrate'
}
}
stage('tests') {
steps {
sh 'pytest -v'
}
}
}
}
}