From a0fcdec7d5f344a5fd7873585a621bef33c25b85 Mon Sep 17 00:00:00 2001 From: Steven Koo Date: Mon, 22 Feb 2021 14:44:18 -0600 Subject: ci: Hardware pytests / devtests in AzDO for n310 This commit adds support for running devtests and pytests in Azure Pipelines. Devices are intentionally matrixed for adding more in the future. devtest is turned off by default for now, but can be enabled in the future. Signed-off-by: Steven Koo --- .ci/uhd-python-hardware-tests.yml | 46 +++++++++++++++++++++++++++++++-------- 1 file changed, 37 insertions(+), 9 deletions(-) (limited to '.ci/uhd-python-hardware-tests.yml') diff --git a/.ci/uhd-python-hardware-tests.yml b/.ci/uhd-python-hardware-tests.yml index 7c55f36c3..33e9f712f 100644 --- a/.ci/uhd-python-hardware-tests.yml +++ b/.ci/uhd-python-hardware-tests.yml @@ -4,12 +4,40 @@ trigger: none # no PR triggers pr: none -pool: - name: de-dre-lab - demands: - - 'uhd_oss_ats' - -steps: -- checkout: none -- script: printenv - displayName: Print Environment +parameters: +- name: run_pebbles_n310_0 + type: boolean + default: true +- name: runDevTest + type: boolean + default: false +- name: runPyTest + type: boolean + default: true + +resources: + repositories: + - repository: ettus-rts + type: github + endpoint: EttusResearch + name: EttusResearch/ettus-rts + +jobs: +- template: templates/job-uhd-hardware-tests.yml + parameters: + runDevTest: ${{ parameters.runDevTest }} + runPyTest: ${{ parameters.runPyTest }} + dutMatrix: + pebbles-n310-0: + devType: 'n3xx' + devModel: 'n310' + devName: 'pebbles-n310-0' + devSerial: '311FE02' + devBus: ip + devAddr: '192.168.40.17' + devMgmtAddr: 'ni-n3xx-311FE02' + devtestPattern: 'n3x0' + pytestDUT: 'n310-0' + pytestAtsConfig: 'uhd_oss_ats' + pipelineAgent: pebbles-agent-1 + deviceEnabled: ${{ parameters.run_pebbles_n310_0 }} -- cgit v1.2.3