Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start running build-cli tests in CI #11713

Merged
merged 8 commits into from Aug 30, 2022

Conversation

tylerbutler
Copy link
Member

@tylerbutler tylerbutler commented Aug 29, 2022

This change just enables the mocha tests for the build-cli project to run in CI.

@github-actions github-actions bot added the base: main PRs targeted against main branch label Aug 29, 2022
@tylerbutler tylerbutler marked this pull request as ready for review August 29, 2022 22:32
@@ -38,7 +38,8 @@
"lint:fix": "npm run prettier:fix && npm run eslint:fix",
"prettier": "prettier --check .",
"prettier:fix": "prettier --write .",
"test": "mocha --forbid-only \"test/**/*.test.ts\" --unhandled-rejections=strict",
"test": "npm run test:mocha",
"test:mocha": "mocha --forbid-only \"test/**/*.test.ts\" --unhandled-rejections=strict",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we move the declared params here into a mocha config file instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, but this seems to be a common pattern in the repo, so I'll leave it as-is for consistency. Here's an example from the map package:

"test:mocha": "mocha --unhandled-rejections=strict --recursive 'dist/test/mocha/**/*.spec.js' -r node_modules/@fluidframework/mocha-test-setup --exit",

@tylerbutler tylerbutler requested a review from a team as a code owner August 30, 2022 02:27
@github-actions github-actions bot added the area: build Build related issues label Aug 30, 2022
@tylerbutler tylerbutler merged commit b97e90f into microsoft:main Aug 30, 2022
@tylerbutler tylerbutler deleted the cli/enable-tests branch August 30, 2022 18:09
@github-actions
Copy link
Contributor

This commit is queued for merging with the next branch! Please ignore this PR for now. Contact @microsoft/fluid-cr-infra for help.

WayneFerrao pushed a commit to WayneFerrao/FluidFramework that referenced this pull request Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Build related issues base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants