Skip to content

Commit

Permalink
fix matrix run conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Jul 4, 2022
1 parent caf82d2 commit 7a2a716
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/.cache_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.9
0.0.10
13 changes: 5 additions & 8 deletions config/generation.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,10 @@ module.exports = {

// PHP
'!clients/algoliasearch-client-php/*',
'!clients/algoliasearch-client-php/lib/*',
'!clients/algoliasearch-client-php/lib/Cache/**',
'!clients/algoliasearch-client-php/lib/Exceptions/**',
'!clients/algoliasearch-client-php/lib/Http/**',
'!clients/algoliasearch-client-php/lib/Log/**',
'!clients/algoliasearch-client-php/lib/RequestOptions/**',
'!clients/algoliasearch-client-php/lib/RetryStrategy/**',
'!clients/algoliasearch-client-php/lib/Support/**',
'clients/algoliasearch-client-php/lib/Api/*',
'clients/algoliasearch-client-php/lib/Model/**',
'clients/algoliasearch-client-php/lib/Configuration/*',
'clients/algoliasearch-client-php/lib/ApiException.php',
'clients/algoliasearch-client-php/lib/ObjectSerializer.php',
],
};
7 changes: 1 addition & 6 deletions scripts/ci/githubActions/createMatrix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,7 @@ async function getSpecMatrix(): Promise<void> {
};

for (const client of CLIENTS) {
// `algoliasearch` is an aggregation of client
if (client === 'algoliasearch') {
continue;
}

// The `lite` spec is created by the `search` spec
// The `algoliasearch` spec is created by the `search` spec, for the `lite` JavaScript client.
const bundledSpecName = client === 'algoliasearch' ? 'search' : client;

matrix.toRun.push(client);
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/husky/__tests__/pre-commit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ describe('micromatch', () => {

'clients/algoliasearch-client-php/.gitignore',
'clients/algoliasearch-client-php/lib/Api/SearchClient.php',
'clients/algoliasearch-client-php/lib/Cache/FileCacheDriver.php',

'tests/output/java/build.gradle',
'tests/output/java/settings.gradle',
Expand Down

0 comments on commit 7a2a716

Please sign in to comment.