Skip to content

Add SAP HANA schema collection and diagnostics #6822

Add SAP HANA schema collection and diagnostics

Add SAP HANA schema collection and diagnostics #6822

Workflow file for this run

name: PR All
on:
pull_request:
paths:
- datadog_checks_base/datadog_checks/**
- datadog_checks_base/pyproject.toml
- datadog_checks_dev/datadog_checks/dev/*.py
- datadog_checks_dev/pyproject.toml
- ddev/src/**
- ddev/pyproject.toml
- "!agent_requirements.in"
# Also run if we modify the workflow files
- ".github/workflows/pr-all.yml"
- ".github/workflows/test-target.yml"
- ".github/workflows/test-all.yml"
# Also run if the action to install test-target scripts changes
- ".github/actions/setup-test-target-scripts/**"
- ".github/actions/setup-ddev/**"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref }}
cancel-in-progress: true
jobs:
test:
uses: ./.github/workflows/test-all.yml
permissions:
# needed for compute-matrix in test-target.yml
contents: read
with:
repo: core
context: "pr"
# Avoid running flaky tests since the intention of running everything in these
# prs is to ensure that tests can be run sucessfully. Reporting failed flaky tests
# does not provide much value.
pytest-args: '-m "not flaky"'
secrets: inherit
save-event:
needs:
- test
if: success() || failure()
uses: ./.github/workflows/save-event.yml
upload-coverage:
needs:
- test
if: >
!github.event.repository.private &&
(success() || failure())
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Download all coverage artifacts
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
pattern: coverage-*
path: coverage-reports
merge-multiple: false
- name: Upload coverage to Datadog
if: always()
continue-on-error: true
uses: DataDog/coverage-upload-github-action@6c4bd935248daa6f0ef94e3e6ba71ad5ad079998 # v1.0.3
with:
api_key: ${{ secrets.DD_API_KEY }}
files: coverage-reports
format: cobertura