mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
ci: Only run documentation/link tests on a single job.
As noted in ReadTheDocs, it's very unlikely that these documentation tests will pass or fail depending on the server's OS.
This commit is contained in:
committed by
Alex Vandiver
parent
4c307e5266
commit
0c385fe01b
5
.github/workflows/zulip-ci.yml
vendored
5
.github/workflows/zulip-ci.yml
vendored
@@ -23,10 +23,12 @@ jobs:
|
||||
name: Ubuntu 20.04 (Python 3.8, backend + frontend)
|
||||
os: focal
|
||||
include_frontend_tests: true
|
||||
include_documentation_tests: false
|
||||
# Debian 11 ships with Python 3.9.2.
|
||||
- docker_image: zulip/ci:bullseye
|
||||
name: Debian 11 (Python 3.9, backend)
|
||||
name: Debian 11 (Python 3.9, backend + documentation)
|
||||
os: bullseye
|
||||
include_documentation_tests: true
|
||||
include_frontend_tests: false
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
@@ -141,6 +143,7 @@ jobs:
|
||||
chmod 755 static/generated
|
||||
|
||||
- name: Run documentation and api tests
|
||||
if: ${{ matrix.include_documentation_tests }}
|
||||
run: |
|
||||
source tools/ci/activate-venv
|
||||
# In CI, we only test links we control in test-documentation to avoid flakes
|
||||
|
||||
Reference in New Issue
Block a user