Skip to content

Update OAS API version 2023-10 #52

Update OAS API version 2023-10

Update OAS API version 2023-10 #52

Workflow file for this run

name: Test Python Generator
on:
pull_request:
paths:
- 'generator/python/**'
- 'api-specifications/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Generate SDKs
run: ./gradlew :generator:python:generateClient
shell: bash
- name: Test SDKs
run: python ./scripts/test_sdk.py --language python
shell: bash
env:
TEST_CLIENT_ID: ${{ secrets.SDK_TEST_CLIENT_ID }}
TEST_CLIENT_SECRET: ${{ secrets.SDK_TEST_CLIENT_SECRET }}
TEST_APPLICATION_ID: ${{ secrets.SDK_TEST_APPLICATION_ID }}