GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(ci): a providerEnv.ts change runs every package's tests (#28286) · AndryHTC/t3code@3d10957

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/scripts
    • ci-changes.cjs
  • scripts
    • check-changed.test.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/scripts/ci-changes.cjs‎

Copy file name to clipboardExpand all lines: .github/scripts/ci-changes.cjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const INERT = [
1414

1515
// Shared test setup and vendored mobile dependencies affect every package.
1616
const RUNS_EVERYTHING = [
17-
/^packages\/shared\/src\/(HostProcess|testing\/longTempDir)\.ts$/,
17+
/^packages\/shared\/src\/(HostProcess|testing\/(longTempDir|providerEnv))\.ts$/,
1818
/^apps\/mobile\/deps\//,
1919
];
2020

Collapse file

‎scripts/check-changed.test.ts‎

Copy file name to clipboardExpand all lines: scripts/check-changed.test.ts
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,13 @@ describe("check:changed", () => {
178178
);
179179
});
180180
});
181+
182+
it.each([
183+
"packages/shared/src/testing/longTempDir.ts",
184+
"packages/shared/src/testing/providerEnv.ts",
185+
])("tests every package when the shared test setup file %s changes", (file) => {
186+
assert.strictEqual(decide([file], readWorkspace(), false).outputs.test_packages, "");
187+
});
181188
});
182189

183190
// Hooks export GIT_DIR and GIT_INDEX_FILE, and user config or the default

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.