mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
* Add a self-test skip option Meteor's CI infrastructure is configured to exclude certain `self-test`'s on each run. These excludes are specified in each CI environment's config file, and included when running `meteor self-test`. Developers running `meteor self-test` locally however are not using these excludes by default, so developer's have to manually look up the current exclude list from one of the CI configs, then add these excludes to their own `meteor self-test` call manually. This commit adds a new `skip` option to Meteor's `self-test` system, that can be used to skip adding/running a defined `self-test` (similar in concept to Mocha's `skip` feature). This provides a way to skip the running of older `self-test`'s that are no longer needed, but allows them to be preserved in the `self-test` suite, for future reference. With this functionality in place, and the older test suites updated to use it, Meteor's base CI excludes no longer need to be maintained in their respective config files. The excludes are all managed at the source (the test definition), and can be leveraged by anyone/anything calling `meteor self-test`. * Log message describing skipped test * Add manually-ignored count to self-test summary * Small comment correction * History.md entry with PR link
48 lines
961 B
YAML
48 lines
961 B
YAML
version: '{build}'
|
|
|
|
branches:
|
|
except:
|
|
- /^dev-bundle-/
|
|
|
|
skip_branch_with_pr: true
|
|
|
|
clone_folder: C:\projects\meteor
|
|
image: Visual Studio 2015
|
|
|
|
environment:
|
|
METEOR_PRETTY_OUTPUT: 0
|
|
SELF_TEST_TOOL_NODE_FLAGS: " "
|
|
TOOL_NODE_FLAGS: --expose-gc
|
|
TIMEOUT_SCALE_FACTOR: 8
|
|
METEOR_HEADLESS: true
|
|
SELF_TEST_EXCLUDE: "^NULL-LEAVE-THIS-HERE-NULL$"
|
|
platform:
|
|
- x64
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
allow_failures:
|
|
- platform: x64
|
|
|
|
# We don't need the actual "build", just the tests.
|
|
build: off
|
|
|
|
install:
|
|
- ps: C:\projects\meteor\scripts\windows\appveyor\install.ps1
|
|
|
|
test_script:
|
|
- ps: C:\projects\meteor\scripts\windows\appveyor\test.ps1
|
|
|
|
on_failure:
|
|
- ps: |
|
|
$npmLogsDir = "$($Env:AppData)\npm-cache\_logs"
|
|
If (Test-Path "$npmLogsDir") {
|
|
Get-ChildItem "${npmLogsDir}\*.log" |
|
|
% { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
|
}
|
|
|
|
cache:
|
|
- dev_bundle -> meteor
|
|
- .babel-cache
|
|
- .meteor
|