pipeline {
    agent any

    stages {
        stage('Build') {
            steps {
                echo 'Building...'
                sh 'python3.7 -m poetry install'
            }
        }
        stage('Test') {
            steps {
                sh 'python3.7 -m tox -e py37'
            }
        }
        stage('Deploy') {
            steps {
                echo 'Deploying....'
            }
        }
    }
}
