fooser 7 gadi atpakaļ
vecāks
revīzija
8eae400236
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 0
      .gitignore
  2. 1 2
      Jenkinsfile

+ 1 - 0
.gitignore

@@ -1 +1,2 @@
 tests/
+tests/__pycache__/

+ 1 - 2
Jenkinsfile

@@ -12,8 +12,7 @@ pipeline {
         stage('Test') {
             steps {
                 echo 'Testing...'
-                sh 'poetry run tox'
-                sh 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf'
+                sh 'PYTHONDONTWRITEBYTECODE=1 python3.7 -m poetry run tox'
             }
         }
         stage('Deploy') {