Skip to content

Fix monitors ID resolution and add support for new burn_rate SLO queries #618

Fix monitors ID resolution and add support for new burn_rate SLO queries

Fix monitors ID resolution and add support for new burn_rate SLO queries #618

Workflow file for this run

name: Run Tests
on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Checkout code
uses: actions/checkout@v2
- name: Install tox
run: pip install tox
- name: Run ruff
run: tox -e ruff
- name: Run unit tests
run: tox -e py39
build_artifacts:
name: Build and test executables
continue-on-error: true
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install requirements
run: |
python -m pip install .
python -m pip install -r scripts/build_requirements.txt
- name: Build and upload executables
run: python scripts/build.py -f -n datadog-sync
- name: Run executable
shell: bash
run: |
dist/datadog-sync diffs --validate=false
exit $?