Articles on: Jenkins Build Service

Python Testing on Ubuntu ARM64

Python Testing on Ubuntu ARM64


Category: programming_languages

Platform: ubuntu_arm64

Tools Used: Python

Description: Run Python tests on Ubuntu ARM64.

Code:

pipeline {
agent { label 'small && python && linux && arm' }
stages {
stage('Setup') {
steps {
sh 'python -m venv venv'
sh 'source venv/bin/activate'
}
}
stage('Install Dependencies') {
steps {
sh 'pip install -r requirements.txt'
}
}
stage('Test') {
steps {
sh 'pytest tests/'
}
}
}
}


Expected Outcome: All Python tests pass.

Updated on: 31/10/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!