1 Star 0 Fork 0

Vue.js / ecosystem-ci

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Vue Ecosystem CI

This repository is used to run integration tests for vue ecosystem projects

via github workflow

scheduled

Workflows are sheduled to run automatically every Monday, Wednesday and Friday

manually

  • open workflow
  • click 'Run workflow' button on top right of the list
  • select suite to run in dropdown
  • start workflow

via shell script

  • clone this repo
  • run pnpm i
  • run pnpm test to run all suites
  • or pnpm test <suitename> to select a suite
  • or tsx ecosystem-ci.ts

Note if you are not using pnpm through corepack locally, you need to prepend every command with COREPACK_ENABLE_STRICT=0 .

You can pass --tag v3.2.0-beta.1, --branch somebranch or --commit abcd1234 option to select a specific vue version to build. If you pass --release 3.2.45, vue build will be skipped and vue is fetched from the registry instead.

The repositories are checked out into workspace subdirectory as shallow clones.

If you want to test the same version of vue multiple times, please run pnpm clean first to ensure the workspace is clean.

how to add a new integration test

  • check out the existing tests and add one yourself. Thanks to some utilities it is really easy
  • once you are confidente the suite works, add it to the lists of suites in the workflows

the current utilities focus on pnpm based projects. Consider switching to pnpm or contribute utilities for other pms

If your project needs some special setup when running in the Ecosystem CI, you can detect the environment by checking for the ECOSYSTEM_CI environment variable. It would be set to vue if running in the Vue Ecosystem CI.

reporting results

on your own server

  • Go to Server settings > Integrations > Webhooks and click New Webhook
  • Give it a name, icon and a channel to post to
  • copy the webhook url
  • get in touch with admins of this repo so they can add the webhook

how to add a discord webhook here

  • Go to <github repo>/settings/secrets/actions and click on New repository secret
  • set Name as DISCORD_WEBHOOK_URL
  • paste the discord webhook url you copied from above into Value
  • Click Add secret
MIT License Copyright (c) 2023-present, Vue contributors Copyright (c) 2021-present, Vite contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Vue Ecosystem CI 展开 收起
TypeScript 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/vuejs/ecosystem-ci.git
git@gitee.com:vuejs/ecosystem-ci.git
vuejs
ecosystem-ci
ecosystem-ci
main

搜索帮助