mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
circleci: Run frontend tests on bionic and upload coverage.
This is preparation for dropping production support for Ubuntu Xenial.
This commit is contained in:
@@ -116,7 +116,7 @@ jobs:
|
||||
- store_test_results:
|
||||
path: ./var/xunit-test-results/casper/
|
||||
|
||||
"bionic-backend-python3.6":
|
||||
"bionic-backend-frontend-python3.6":
|
||||
docker:
|
||||
# This is built from tools/circleci/images/bionic/Dockerfile .
|
||||
# Bionic ships with Python 3.6.
|
||||
@@ -142,6 +142,22 @@ jobs:
|
||||
- *save_cache_package_json
|
||||
- *save_cache_requirements
|
||||
- *run_backend_tests
|
||||
- *run_frontend_tests
|
||||
# We only need to upload coverage reports on whichever platform
|
||||
# runs the frontend tests.
|
||||
- *upload_coverage_report
|
||||
|
||||
- store_artifacts:
|
||||
path: ./var/casper/
|
||||
destination: casper
|
||||
|
||||
- store_artifacts:
|
||||
path: ../../../tmp/zulip-test-event-log/
|
||||
destination: test-reports
|
||||
|
||||
- store_test_results:
|
||||
path: ./var/xunit-test-results/casper/
|
||||
|
||||
|
||||
"focal-backend-frontend-python3.8":
|
||||
docker:
|
||||
@@ -161,26 +177,11 @@ jobs:
|
||||
- *save_cache_package_json
|
||||
- *save_cache_requirements
|
||||
- *run_backend_tests
|
||||
- *run_frontend_tests
|
||||
# We only need to upload coverage reports on whichever platform
|
||||
# runs the frontend tests.
|
||||
- *upload_coverage_report
|
||||
|
||||
- store_artifacts:
|
||||
path: ./var/casper/
|
||||
destination: casper
|
||||
|
||||
- store_artifacts:
|
||||
path: ../../../tmp/zulip-test-event-log/
|
||||
destination: test-reports
|
||||
|
||||
- store_test_results:
|
||||
path: ./var/xunit-test-results/casper/
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
build:
|
||||
jobs:
|
||||
- "xenial-backend-frontend-python3.5"
|
||||
- "bionic-backend-python3.6"
|
||||
- "bionic-backend-frontend-python3.6"
|
||||
# - "focal-backend-frontend-python3.8"
|
||||
|
||||
Reference in New Issue
Block a user