From 62bb1f548ae7ca9444732fa2d73b33296fb23a8b Mon Sep 17 00:00:00 2001 From: Matt Royal Date: Fri, 17 Jul 2020 13:42:21 -0700 Subject: [PATCH] Test docs in PRs Authored-by: Matt Royal --- .github/workflows/unit_tests.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index e88709da029..8911976e6cf 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -41,4 +41,18 @@ jobs: service mysql restart - name: Run tests run: DB=mysql bundle exec rake spec:all + test_docs: + runs-on: ubuntu-latest + container: + image: "cloudfoundry/capi:rc-docs" + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: | + bundle install + cd docs/v3 + bundle install + cd - + - name: Run docs tests + run: bundle exec rake check_doc_links