Skip to content

Commit

Permalink
removed all matrix mentions
Browse files Browse the repository at this point in the history
  • Loading branch information
ApekshaBhosale committed Jun 20, 2024
1 parent 8857f75 commit 467635a
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/ci-test-limited.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ on:
required: false
type: number
default: 0
matrix:
description: "Matrix jobs"
required: false
type: string
default: "[0]"
workflow_call:
inputs:
pr:
Expand All @@ -30,11 +25,6 @@ on:
required: false
type: number
default: 0
matrix:
description: "This is the matrix job number"
required: false
type: string
default: "[0]"

jobs:
ci-test-limited:
Expand All @@ -48,10 +38,6 @@ jobs:
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
job: ${{ fromJson(inputs.matrix) }}

# Service containers to run with this job. Required for running tests
services:
Expand Down Expand Up @@ -100,9 +86,9 @@ jobs:
with:
path: |
~/run_result
key: ${{ github.run_id }}-${{ github.job }}-${{ matrix.job }}
key: ${{ github.run_id }}-${{ github.job }}
restore-keys: |
${{ github.run_id }}-${{ github.job }}-${{ matrix.job }}
${{ github.run_id }}-${{ github.job }}
- name: Get the previous run result
if: steps.cache-appsmith.outputs.cache-hit == 'true'
Expand Down Expand Up @@ -382,7 +368,7 @@ jobs:
working-directory: "."
run: |
mkdir -p ~/dockerlogs
docker logs appsmith 2>&1 > ~/dockerlogs/dockerlogs-${{ matrix.job }}.txt
docker logs appsmith 2>&1 > ~/dockerlogs/dockerlogs-log.txt
# Upload docker logs
- name: Upload failed test list artifact
Expand All @@ -397,7 +383,7 @@ jobs:
if: failure()
run: |
mkdir -p ~/results
mv ${{ github.workspace }}/app/client/results ~/results/${{ matrix.job }}
mv ${{ github.workspace }}/app/client/results ~/results
- name: Upload cypress report
if: failure()
Expand All @@ -420,14 +406,14 @@ jobs:
with:
path: |
~/run_result
key: ${{ github.run_id }}-${{ github.job }}-${{ matrix.job }}
key: ${{ github.run_id }}-${{ github.job }}

# Upload the log artifact so that it can be used by the test & deploy job in the workflow
- name: Upload server logs bundle on failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: server-logs-${{ matrix.job }}
name: server-logs
path: app/server/server-logs.log
overwrite: true

Expand Down

0 comments on commit 467635a

Please sign in to comment.