Skip to content

Commit

Permalink
Update function to handle edge cases in input validation
Browse files Browse the repository at this point in the history
The function now checks for null and undefined inputs, returning appropriate error messages. This change improves robustness and prevents potential crashes.
  • Loading branch information
OmarAlJarrah committed Aug 7, 2024
1 parent 3d93fa7 commit 6caafa0
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions .github/workflows/pr-check-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,38 @@ name: Run Tests
on: push

jobs:
run-rapid-tests:
strategy:
matrix:
jdk: [21, 17, 11, 8]
run-rapid-tests-21:
uses: ./.github/workflows/run-tests.yaml
with:
source: 'specs'
specs_url: 'https://ewe-assets.s3.amazonaws.com/developer-tools/api/rapid/v3/specs.yaml'
sdk_version: 1.0.${{ github.run_id }}
sdk_namespace: 'rapid'
jdk: 21
endpoint_prefix: '/v3'
run-rapid-tests-17:
uses: ./.github/workflows/run-tests.yaml
with:
source: 'specs'
specs_url: 'https://ewe-assets.s3.amazonaws.com/developer-tools/api/rapid/v3/specs.yaml'
sdk_version: 1.0.${{ github.run_id }}
sdk_namespace: 'rapid'
jdk: '17'
endpoint_prefix: '/v3'
run-rapid-tests-11:
uses: ./.github/workflows/run-tests.yaml
with:
source: 'specs'
specs_url: 'https://ewe-assets.s3.amazonaws.com/developer-tools/api/rapid/v3/specs.yaml'
sdk_version: 1.0.${{ github.run_id }}
sdk_namespace: 'rapid'
jdk: ${{ matrix.jdk }}
jdk: '11'
endpoint_prefix: '/v3'
run-rapid-tests-8:
uses: ./.github/workflows/run-tests.yaml
with:
source: 'specs'
specs_url: 'https://ewe-assets.s3.amazonaws.com/developer-tools/api/rapid/v3/specs.yaml'
sdk_version: 1.0.${{ github.run_id }}
sdk_namespace: 'rapid'
jdk: '8'

0 comments on commit 6caafa0

Please sign in to comment.