circleci: Run frontend tests on bionic and upload coverage.

This is preparation for dropping production support for Ubuntu Xenial.
This commit is contained in:
Aman Agrawal
2020-04-17 22:49:26 +05:30
committed by Tim Abbott
parent 3da483487a
commit 227762c6ed

View File

@@ -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"