From 741fa7d179ae6ab6eb66d466b4adc54e41dcebc4 Mon Sep 17 00:00:00 2001 From: Jessica Saavedra Date: Wed, 21 Aug 2024 14:15:00 -0300 Subject: [PATCH] [DOCS] Add docs tests step to CI (#10220) --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42c4ad40b8fe..d2033b2d89c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -303,6 +303,17 @@ jobs: POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }} run: cd docs/docusaurus && yarn install && bash ../build_docs + docs-tests: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Run tests + env: + NODE_OPTIONS: --max_old_space_size=4096 + POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }} + run: cd docs/docusaurus && yarn install && yarn test + cloud-tests: needs: [unit-tests, static-analysis, ci-is-on-main-repo] if: github.event.pull_request.draft == false