From 2bb42e67d77a16898ca6390efb22da0a2134c5a1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 19 Aug 2022 13:23:11 +0530 Subject: [PATCH] We have to build docs to test building of package now --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0417da82a..a98d7e032 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -123,7 +123,7 @@ jobs: - name: Checkout source code uses: actions/checkout@master with: - fetch-depth: 10 + fetch-depth: 0 # needed for :commit: docs role - name: Build kitty run: python3 .github/workflows/ci.py build @@ -131,5 +131,11 @@ jobs: - name: Test kitty run: python3 .github/workflows/ci.py test + - name: Install deps for docs + run: python3 -m pip install -r docs/requirements.txt + + - name: Builds docs + run: make FAIL_WARN=1 docs + - name: Build kitty package run: python3 .github/workflows/ci.py package