Skip to content

Commit 2167a52

Browse files
committed
fast test
1 parent e70a043 commit 2167a52

File tree

1 file changed

+0
-83
lines changed

1 file changed

+0
-83
lines changed

.github/workflows/check.yml

Lines changed: 0 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,6 @@ jobs:
7878
steps:
7979
- uses: actions/checkout@v2
8080

81-
- name: Setup
82-
uses: ./.github/actions/setup
83-
with:
84-
type: minimal
85-
86-
- name: Check script linting
87-
run: yarn scripts:lint
88-
89-
- name: Test scripts
90-
run: yarn scripts:test
91-
92-
- name: Test custom eslint plugin
93-
run: yarn workspace eslint-plugin-automation-custom test
94-
9581
specs:
9682
runs-on: ubuntu-20.04
9783
timeout-minutes: 10
@@ -101,30 +87,6 @@ jobs:
10187
steps:
10288
- uses: actions/checkout@v2
10389

104-
- name: Cache bundled specs
105-
id: cache
106-
uses: actions/cache@v3
107-
with:
108-
key: ${{ matrix.client.cacheKey }}
109-
path: ${{ matrix.client.bundledPath }}
110-
111-
- name: Setup
112-
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
113-
uses: ./.github/actions/setup
114-
with:
115-
type: minimal
116-
117-
- name: Building specs
118-
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
119-
run: yarn cli build specs ${{ matrix.client.toRun }}
120-
121-
- name: Store bundled specs
122-
uses: actions/upload-artifact@v3
123-
with:
124-
if-no-files-found: error
125-
name: specs
126-
path: ${{ matrix.client.bundledPath }}
127-
12890
client_javascript_utils:
12991
timeout-minutes: 10
13092
runs-on: ubuntu-20.04
@@ -139,38 +101,6 @@ jobs:
139101
steps:
140102
- uses: actions/checkout@v2
141103

142-
- name: Cache '${{ matrix.client }}' client folder
143-
id: cache
144-
uses: actions/cache@v3
145-
with:
146-
key: |
147-
${{ matrix.client }}-${{ hashFiles(
148-
format('clients/algoliasearch-client-javascript/packages/{0}/**', matrix.client),
149-
'yarn.lock'
150-
)}}
151-
path: clients/algoliasearch-client-javascript/packages/${{ matrix.client }}
152-
153-
- name: Setup
154-
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
155-
uses: ./.github/actions/setup
156-
with:
157-
type: minimal
158-
159-
- name: Build '${{ matrix.client }}' client
160-
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
161-
run: yarn workspace algoliasearch-client-javascript build ${{ matrix.client }}
162-
163-
- name: Run tests for 'client-common'
164-
if: ${{ steps.cache.outputs.cache-hit != 'true' && matrix.client == 'client-common' }}
165-
run: yarn workspace @experimental-api-clients-automation/client-common test
166-
167-
- name: Store '${{ matrix.client }}' JavaScript utils package
168-
uses: actions/upload-artifact@v3
169-
with:
170-
if-no-files-found: error
171-
name: client-javascript-utils-${{ matrix.client }}
172-
path: clients/algoliasearch-client-javascript/packages/${{ matrix.client }}
173-
174104
client_gen:
175105
timeout-minutes: 15
176106
runs-on: ubuntu-20.04
@@ -196,19 +126,6 @@ jobs:
196126
key: ${{ matrix.client.cacheKey }}
197127
path: ${{ matrix.client.path }}
198128

199-
- name: Download specs artifacts
200-
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
201-
uses: ./.github/actions/restore-artifacts
202-
with:
203-
type: specs
204-
205-
# Always download the utils for js, in case they changed we want to include them in the zip
206-
- name: Download JavaScript utils artifacts
207-
if: ${{ matrix.client.language == 'javascript' }}
208-
uses: ./.github/actions/restore-artifacts
209-
with:
210-
type: js_utils
211-
212129
- name: Zip artifact before storing
213130
run:
214131
zip -r -y clients-${{ matrix.client.language }}.zip ${{ matrix.client.path }} ${{ matrix.client.testsToStore }} -x \

0 commit comments

Comments
 (0)