Skip to content

Commit

Permalink
ci: add regression test for popular libraries in Vue.js ecosystem (vu…
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang authored and aJean committed Aug 19, 2020
1 parent 032bebd commit bee602b
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ jobs:
- run: npm run test:ssr
- run: npm run test:weex

trigger-regression-test:
<<: *defaults
steps:
- run:
command: |
curl --user ${CIRCLE_TOKEN}: \
--data build_parameters[CIRCLE_JOB]=update \
--data build_parameters[VUE_REVISION]=${CIRCLE_SHA1} \
https://circleci.com/api/v1.1/project/github/vuejs/regression-testing/tree/master
workflows:
version: 2
install-and-parallel-test:
Expand All @@ -79,3 +89,42 @@ workflows:
- test-ssr-weex:
requires:
- install
- trigger-regression-test:
filters:
branches:
only:
- regression-test
requires:
- test-cover
- lint-flow-types
- test-e2e
- test-ssr-weex
weekly_regression_test:
triggers:
- schedule:
# At 13:00 UTC (9:00 EDT) on every Monday
cron: "0 13 * * 1"
filters:
branches:
only:
dev
jobs:
- install
- test-cover:
requires:
- install
- lint-flow-types:
requires:
- install
- test-e2e:
requires:
- install
- test-ssr-weex:
requires:
- install
- trigger-regression-test:
requires:
- test-cover
- lint-flow-types
- test-e2e
- test-ssr-weex

0 comments on commit bee602b

Please sign in to comment.