소스 검색

Updated files

fooser 7 년 전
부모
커밋
8eae400236
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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') {