Skip to content

Add test scenarios written by jsenko. #2

Add test scenarios written by jsenko.

Add test scenarios written by jsenko. #2

Workflow file for this run

name: Verify Python SDK
on:
push:
paths-ignore:
- '.gitignore'
- 'LICENSE'
- 'README*'
- 'docs/**'
- '.github/workflows/**'
branches: [main, '[1-9].[0-9].x']
pull_request:
paths-ignore:
- '.gitignore'
- 'LICENSE'
- 'README*'
- 'docs/**'
branches: [main]
jobs:
build-verify:
name: Verify Python SDK
runs-on: ubuntu-20.04
# if: github.repository_owner == 'Apicurio' && !contains(github.event.*.labels.*.name, 'DO NOT MERGE')
steps:
- name: Checkout Code with Ref '${{ github.ref }}'
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
cache: 'maven'
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Poetry
uses: snok/install-poetry@d45b6d76012debf457ab49dffc7fb7b2efe8071d
- name: Install the package
working-directory: python-sdk
run: make install
- name: Check linting
working-directory: python-sdk
run: make lint-check
- name: Build Registry
run: mvn clean install -am -pl app -Dskip.npm -DskipTests=true --no-transfer-progress
- name: Run the tests
working-directory: python-sdk
run: make test