fooser 7 anni fa
parent
commit
8eae400236
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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') {