Explorar o código

Updated files

fooser %!s(int64=7) %!d(string=hai) anos
pai
achega
8eae400236
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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') {