Skip to content

Commit

Permalink
ci: test all the things
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed May 13, 2024
1 parent 7876015 commit 92c3233
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- ci


jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -15,17 +14,14 @@ jobs:
with:
node-version: '20'
- run: make setup
# - run: make do_openapi_lint || true
# - run: make provider_mock_prism &
# - run: sleep 15 && make request
# - run: make do_openapi2soapui
# - run: make do_soapui_test
# - run: docker stop prism
# - run: make do_generate_provider
# - run: make do_provider_test
- run: make do_openapi_lint || true
- run: make provider_mock_prism &
- run: sleep 15 && make request
- run: make do_openapi2soapui
- run: make do_soapui_test
- run: docker stop prism
- run: make do_generate_consumer
- run: make do_consumer_test
- run: make do_consumer_pact_verify_openapi
# - run: |
# cat openapi/openapi.yaml
# cat typescript-fetch-pact-consumer/pacts/DefaultApi-consumer-DefaultApi.json
- run: make do_generate_provider
- run: make do_provider_test
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ openapi_fetch: ## Downloads a reference OpenAPI specification
git_ignore: ## Creates a tailored .gitignore file
echo 'swagger-codegen-generators \n\
codegen.config.json \n\
example-bi-directional-provider-soapui \n\
typescript-fetch-pact-consumer \n\
openapi2soapui \n\
openapi.yaml \n\
Expand Down

0 comments on commit 92c3233

Please # to comment.