> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.stacktrack.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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 && linux && arm && economy' }
    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.