Support oneOfs & anyOfs in operation request & response schema #1627
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
workflow_dispatch: null | |
push: | |
pull_request: | |
jobs: | |
unit-tests-on-ubuntu: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.9','3.10','3.11', '3.12' ] | |
steps: | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: Update system packages | |
run: sudo apt-get update -y | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Python wheel | |
run: pip install wheel boto3 | |
- name: Update cert | |
run: pip install certifi -U | |
- name: Install deps | |
run: pip install .[dev] | |
- name: Install Package | |
run: make install | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run the unit test suite | |
run: make test | |
unit-tests-on-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install Python wheel | |
run: pip install wheel boto3 | |
- name: Update cert | |
run: pip install certifi -U | |
- name: Install deps | |
run: pip install .[dev] | |
- name: Install Package | |
shell: pwsh | |
run: | | |
make install | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run the unit test suite | |
run: make test |