Skip to content

AzureMonitorAgent: add Ubuntu 26.04 to supported distros #20

AzureMonitorAgent: add Ubuntu 26.04 to supported distros

AzureMonitorAgent: add Ubuntu 26.04 to supported distros #20

name: AzureMonitorAgent Tests
on:
push:
branches: [master, main]
paths:
- 'AzureMonitorAgent/**'
- 'LAD-AMA-Common/**'
pull_request:
branches: [master, main]
paths:
- 'AzureMonitorAgent/**'
- 'LAD-AMA-Common/**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Run AzureMonitorAgent tests
working-directory: AzureMonitorAgent
env:
PYTHONPATH: ${{ github.workspace }}/LAD-AMA-Common
run: python -m unittest discover -s tests -v