mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 10:35:25 +00:00
add python ci
This commit is contained in:
parent
216d4b8b23
commit
1221a83504
@ -11,6 +11,7 @@ before_install:
|
||||
# required when sudo: required for the Ruby petstore tests
|
||||
- gem install bundler
|
||||
- npm install -g typescript
|
||||
- pip install virtualenv
|
||||
|
||||
install:
|
||||
|
||||
|
13
pom.xml
13
pom.xml
@ -522,6 +522,18 @@
|
||||
<module>samples/client/petstore/typescript-node/npm</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>python-client</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>env</name>
|
||||
<value>java</value>
|
||||
</property>
|
||||
</activation>
|
||||
<modules>
|
||||
<module>samples/client/petstore/python</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>ruby-client</id>
|
||||
<activation>
|
||||
@ -557,6 +569,7 @@
|
||||
<modules>
|
||||
<!-- run ruby test first which has a random delay script to
|
||||
avoid issues with running 2 CI jobs in parallel. -->
|
||||
<module>samples/client/petstore/python</module>
|
||||
<module>samples/client/petstore/ruby</module>
|
||||
<module>samples/client/petstore/typescript-fetch/tests/default</module>
|
||||
<module>samples/client/petstore/typescript-fetch/builds/default</module>
|
||||
|
@ -15,7 +15,7 @@ clean:
|
||||
find . -name "__pycache__" -delete
|
||||
|
||||
test: clean
|
||||
bash ./test.sh
|
||||
bash ./test_python2.sh
|
||||
|
||||
test-all: clean
|
||||
bash ./test-all.sh
|
||||
bash ./test_python2_and_3.sh
|
||||
|
@ -1,6 +1,6 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.wordnik</groupId>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>PythonPetstoreClientTests</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
@ -35,7 +35,7 @@
|
||||
<configuration>
|
||||
<executable>make</executable>
|
||||
<arguments>
|
||||
<argument>test</argument>
|
||||
<argument>test-all</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
Loading…
Reference in New Issue
Block a user