Skip to content

Commit

Permalink
Allow running tests in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
miniBill committed Aug 3, 2024
1 parent d2c26aa commit 3abd4f6
Show file tree
Hide file tree
Showing 3 changed files with 10,388 additions and 9,129 deletions.
15 changes: 8 additions & 7 deletions gen-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
set -e

# Generate various SDKs
npx npm-run-all --aggregate-output --print-label $PARALLEL \
"dev -- ./example/trustmark.json --module-name Trustmark --effect-types 'cmd' --server 'https://api.sandbox.retrofitintegration.data-hub.org.uk'" \
"dev ./example/realworld-conduit.yaml" \
"dev ./example/amadeus-airline-lookup.json" \
"dev ./example/github-spec.json" \
"dev -- ./example/db-fahrplan-api-specification.yaml --auto-convert-swagger" \
"dev ./example/viaggiatreno.yaml"

npm run dev -- ./example/trustmark.json --module-name Trustmark --effect-types 'cmd' --server 'https://api.sandbox.retrofitintegration.data-hub.org.uk'
npm run dev ./example/realworld-conduit.yaml
npm run dev ./example/amadeus-airline-lookup.json
npm run dev ./example/github-spec.json
npm run dev -- ./example/db-fahrplan-api-specification.yaml --auto-convert-swagger
# Run the last one on its own so if the previous ones have trampled over common files this gets a chance to fix them
npm run dev ./example/single-enum.yaml
npm run dev ./example/viaggiatreno.yaml

# Compile example Elm

cd example && npx elm make src/Example.elm --output=/dev/null
Loading

0 comments on commit 3abd4f6

Please sign in to comment.