From 652ea4ee96ba127d26c2fbe59ff327c551c2a888 Mon Sep 17 00:00:00 2001 From: zfong Date: Mon, 25 Nov 2024 14:29:42 -0800 Subject: [PATCH] [cueweb] Add tests to ci/cd pipeline - Adding cueweb tests to the opencue ci/cd pipeline --- .github/workflows/testing-pipeline.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing-pipeline.yml b/.github/workflows/testing-pipeline.yml index bcbbb7706..8328fa3e3 100644 --- a/.github/workflows/testing-pipeline.yml +++ b/.github/workflows/testing-pipeline.yml @@ -2,9 +2,9 @@ name: OpenCue Testing Pipeline on: push: - branches: [ master ] + branches: [ master, cueweb ] pull_request: - branches: [ master ] + branches: [ master, cueweb ] jobs: test_python_2022: @@ -104,6 +104,22 @@ jobs: - name: Run Sphinx build run: ci/build_sphinx_docs.sh + test_cueweb: + name: Run CueWeb Tests + runs-on: ubuntu-latest + container: cueweb + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Pull cueweb image + run: | + docker pull cueweb:1.2.0 + + - name: Run tests in Docker container + run: | + docker run cueweb:1.2.0 npm test + check_changed_files: name: Check Changed Files runs-on: ubuntu-latest