mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 12:40:53 +00:00
comment out to speed up tests
This commit is contained in:
parent
d0a427a84c
commit
c317c753f0
102
CI/.drone.yml
102
CI/.drone.yml
@ -8,54 +8,54 @@ steps:
|
||||
commands:
|
||||
- (cd samples/openapi3/client/petstore/elm && ./elm-compile-test)
|
||||
# test Java 11 HTTP client
|
||||
- name: java11-test
|
||||
image: openjdk:11.0
|
||||
commands:
|
||||
- ./mvnw --quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
||||
- ./mvnw --quiet verify -Psamples.droneio -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
||||
# run ensure up-to-date
|
||||
- /bin/bash bin/utils/ensure-up-to-date
|
||||
# test java native client
|
||||
- ./mvnw clean test -f samples/client/petstore/java/native/pom.xml
|
||||
- ./mvnw clean test -f samples/client/petstore/java/native-async/pom.xml
|
||||
- ./mvnw clean test -f samples/openapi3/client/petstore/java/native/pom.xml
|
||||
# test all generators with fake petstore spec (2.0, 3.0)
|
||||
- /bin/bash bin/utils/test-fake-petstore-for-all.sh
|
||||
# generate test scripts
|
||||
- /bin/bash bin/tests/run-all-test
|
||||
# test nim client
|
||||
- name: nim-client-test
|
||||
image: nimlang/nim
|
||||
commands:
|
||||
- (cd samples/client/petstore/nim/ && nim c sample_client.nim)
|
||||
# test protobuf schema generator
|
||||
- name: protobuf-schema-test
|
||||
image: nanoservice/protobuf-go
|
||||
commands:
|
||||
- protoc --version
|
||||
- mkdir /var/tmp/go/
|
||||
- cd samples/config/petstore/protobuf-schema
|
||||
- protoc --go_out=/var/tmp/go/ services/*
|
||||
- protoc --go_out=/var/tmp/go/ models/*
|
||||
# test aspnetcore 3.x
|
||||
- name: aspnetcore-test
|
||||
image: mcr.microsoft.com/dotnet/core/sdk:3.1
|
||||
commands:
|
||||
- (cd samples/server/petstore/aspnetcore-3.1/ && /bin/sh build.sh)
|
||||
- (cd samples/server/petstore/aspnetcore-3.0/ && /bin/sh build.sh)
|
||||
# test ocaml petstore client
|
||||
- name: ocaml-test
|
||||
image: ocaml/opam2:4.07
|
||||
commands:
|
||||
- sudo apt-get -y install m4
|
||||
- cd samples/client/petstore/ocaml
|
||||
- opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix
|
||||
- opam pin add ocaml-migrate-parsetree 1.3.1
|
||||
- eval $(opam env)
|
||||
- sudo chmod -R 777 .
|
||||
- dune build --build-dir=./_build
|
||||
# test haskell client
|
||||
- name: haskell-client-test
|
||||
image: haskell:8.6.5
|
||||
commands:
|
||||
- (cd samples/client/petstore/haskell-http-client/ && stack --install-ghc --no-haddock-deps haddock --fast && stack test --fast)
|
||||
#- name: java11-test
|
||||
# image: openjdk:11.0
|
||||
# commands:
|
||||
# - ./mvnw --quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
||||
# - ./mvnw --quiet verify -Psamples.droneio -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
||||
# # run ensure up-to-date
|
||||
# - /bin/bash bin/utils/ensure-up-to-date
|
||||
# # test java native client
|
||||
# - ./mvnw clean test -f samples/client/petstore/java/native/pom.xml
|
||||
# - ./mvnw clean test -f samples/client/petstore/java/native-async/pom.xml
|
||||
# - ./mvnw clean test -f samples/openapi3/client/petstore/java/native/pom.xml
|
||||
# # test all generators with fake petstore spec (2.0, 3.0)
|
||||
# - /bin/bash bin/utils/test-fake-petstore-for-all.sh
|
||||
# # generate test scripts
|
||||
# - /bin/bash bin/tests/run-all-test
|
||||
## test nim client
|
||||
#- name: nim-client-test
|
||||
# image: nimlang/nim
|
||||
# commands:
|
||||
# - (cd samples/client/petstore/nim/ && nim c sample_client.nim)
|
||||
## test protobuf schema generator
|
||||
#- name: protobuf-schema-test
|
||||
# image: nanoservice/protobuf-go
|
||||
# commands:
|
||||
# - protoc --version
|
||||
# - mkdir /var/tmp/go/
|
||||
# - cd samples/config/petstore/protobuf-schema
|
||||
# - protoc --go_out=/var/tmp/go/ services/*
|
||||
# - protoc --go_out=/var/tmp/go/ models/*
|
||||
## test aspnetcore 3.x
|
||||
#- name: aspnetcore-test
|
||||
# image: mcr.microsoft.com/dotnet/core/sdk:3.1
|
||||
# commands:
|
||||
# - (cd samples/server/petstore/aspnetcore-3.1/ && /bin/sh build.sh)
|
||||
# - (cd samples/server/petstore/aspnetcore-3.0/ && /bin/sh build.sh)
|
||||
## test ocaml petstore client
|
||||
#- name: ocaml-test
|
||||
# image: ocaml/opam2:4.07
|
||||
# commands:
|
||||
# - sudo apt-get -y install m4
|
||||
# - cd samples/client/petstore/ocaml
|
||||
# - opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix
|
||||
# - opam pin add ocaml-migrate-parsetree 1.3.1
|
||||
# - eval $(opam env)
|
||||
# - sudo chmod -R 777 .
|
||||
# - dune build --build-dir=./_build
|
||||
## test haskell client
|
||||
#- name: haskell-client-test
|
||||
# image: haskell:8.6.5
|
||||
# commands:
|
||||
# - (cd samples/client/petstore/haskell-http-client/ && stack --install-ghc --no-haddock-deps haddock --fast && stack test --fast)
|
||||
|
Loading…
x
Reference in New Issue
Block a user