Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
github-actions: Use include_frontend_test check.
Priyank Patel711943a3ab62
diff --git a/.github/workflows/zulip-ci.yml b/.github/workflows/zulip-ci.ymlindex d76bf3fddd8..de01defc0a0 100644--- a/.github/workflows/zulip-ci.yml+++ b/.github/workflows/zulip-ci.yml@@ -18,6 +18,7 @@ jobs:name: Ubuntu 18.04 Bionic (Python 3.6, backend + frontend)os: bionicis_bionic: true+ include_frontend_tests: true# This docker image was created by a generated Dockerfile at:# tools/ci/images/focal/Dockerfile@@ -26,6 +27,7 @@ jobs:name: Ubuntu 20.04 Focal (Python 3.8, backend)os: focalis_focal: true+ include_frontend_tests: falseruns-on: ubuntu-latestname: ${{ matrix.name }}@@ -107,7 +109,7 @@ jobs:mispipe "./tools/ci/backend 2>&1" ts- name: Run frontend tests- if: ${{ matrix.is_bionic }}+ if: ${{ matrix.include_frontend_tests }}run: |. /srv/zulip-py3-venv/bin/activatemispipe "./tools/ci/frontend 2>&1" ts@@ -119,7 +121,10 @@ jobs:mispipe "./tools/test-locked-requirements 2>&1" ts- name: Upload coverage reports- if: ${{ matrix.is_bionic }}++ # Only upload coverage when both frontend and backend+ # tests are ran.+ if: ${{ matrix.include_frontend_tests }}run: |# Codcov requires `.coverage` file to be stored in the# current working directory.@@ -137,7 +142,7 @@ jobs:pip install codecov && codecov || echo "Error in uploading coverage reports to codecov.io."- name: Store puppeteer artifacts- if: ${{ matrix.is_bionic }}+ if: ${{ matrix.include_frontend_tests }}uses: actions/upload-artifact@v2with:name: puppeteer