From 64622748b766a570715a1185ffd2553a1d913d23 Mon Sep 17 00:00:00 2001 From: MounikaBattu17 <126869186+MounikaBattu17@users.noreply.github.com> Date: Wed, 28 Jun 2023 22:00:55 +0530 Subject: [PATCH] Testing Pipeline | Added self hosted GH runner nidaqmxbot in pipeline (#415) * Feat: Added self hosted GH runner in pipeline to run system tests --------- Signed-off-by: Brad Keryan Co-authored-by: Brad Keryan --- .github/workflows/CI.yml | 4 ++++ .github/workflows/run_system_tests.yml | 24 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .github/workflows/run_system_tests.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3e6ca131..5d0dd401 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,3 +19,7 @@ jobs: name: Generate docs uses: ./.github/workflows/generate_docs.yml needs: [build] + run_system_tests: + name: Run system tests + uses: ./.github/workflows/run_system_tests.yml + needs: [build, run_unit_tests] diff --git a/.github/workflows/run_system_tests.yml b/.github/workflows/run_system_tests.yml new file mode 100644 index 00000000..224710bc --- /dev/null +++ b/.github/workflows/run_system_tests.yml @@ -0,0 +1,24 @@ +name: Run system tests + +on: + workflow_call: + workflow_dispatch: +jobs: + run_system_tests: + name: Run system tests + runs-on: + - self-hosted + - windows + - x64 + - rdss-nidaqmxbot-${{ matrix.configuration }} + strategy: + matrix: + configuration: ["win-10-py32", "win-10-py64"] + timeout-minutes: 90 + steps: + - name: Check out repo + uses: actions/checkout@v3 + - name: Install dependencies + run: poetry install + - name: Run system tests + run: poetry run tox \ No newline at end of file