From f24fb8ad572d72dde21bc5163eee8a0ba439f08d Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Fri, 7 Jan 2022 11:35:18 +0100 Subject: [PATCH] ci: for integration tests, make `**` the default (#2187) - add shoelace - update apollo --- integration-tests/config/config.json | 12 +++++++++++- .../apollographql/apollo-server/snapshot.txt | 4 ++-- .../snapshots/shoelace-style/shoelace/snapshot.txt | 7 +++++++ integration-tests/src/config.ts | 2 +- 4 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 integration-tests/snapshots/shoelace-style/shoelace/snapshot.txt diff --git a/integration-tests/config/config.json b/integration-tests/config/config.json index 9423b78144b..a1acbc17674 100644 --- a/integration-tests/config/config.json +++ b/integration-tests/config/config.json @@ -315,9 +315,19 @@ "path": "apollographql/apollo-server", "url": "https://github.com/apollographql/apollo-server.git", "args": [ - "**/*.*" + "**" ], "commit": "ec61d76fde85521b27169dc93f3b3d0836aa860d" + }, + { + "path": "shoelace-style/shoelace", + "url": "https://github.com/shoelace-style/shoelace.git", + "args": [ + "**", + "-e", + "docs/assets/**" + ], + "commit": "938c7d243781d87ad45b1942f04bc92b9e3a6ee2" } ] } diff --git a/integration-tests/snapshots/apollographql/apollo-server/snapshot.txt b/integration-tests/snapshots/apollographql/apollo-server/snapshot.txt index 79adb71f856..82125e93266 100644 --- a/integration-tests/snapshots/apollographql/apollo-server/snapshot.txt +++ b/integration-tests/snapshots/apollographql/apollo-server/snapshot.txt @@ -1,7 +1,7 @@ Repository: apollographql/apollo-server Url: "https://github.com/apollographql/apollo-server.git" -Args: ["**/*.*"] +Args: ["**"] Lines: - CSpell: Files checked: 345, Issues found: 0 in 0 files + CSpell: Files checked: 347, Issues found: 0 in 0 files exit code: 0 diff --git a/integration-tests/snapshots/shoelace-style/shoelace/snapshot.txt b/integration-tests/snapshots/shoelace-style/shoelace/snapshot.txt new file mode 100644 index 00000000000..f922f65eb0d --- /dev/null +++ b/integration-tests/snapshots/shoelace-style/shoelace/snapshot.txt @@ -0,0 +1,7 @@ + +Repository: shoelace-style/shoelace +Url: "https://github.com/shoelace-style/shoelace.git" +Args: ["**","-e","docs/assets/**"] +Lines: + CSpell: Files checked: 260, Issues found: 0 in 0 files + exit code: 0 diff --git a/integration-tests/src/config.ts b/integration-tests/src/config.ts index 4b8f52bcb69..9064d6a7b2e 100644 --- a/integration-tests/src/config.ts +++ b/integration-tests/src/config.ts @@ -40,7 +40,7 @@ export function addRepository(path: string, url: string, commit: string, branch: const config = readConfig(); const entries = new Map(config.repositories.map((r) => [r.path, r])); const existingEntry: Partial = entries.get(path) || {}; - const args = existingEntry.args || ['**/*.*']; + const args = existingEntry.args || ['**']; const postCheckoutSteps = existingEntry.postCheckoutSteps; const entry: Repository = {