Skip to content

chore(product_catalog): expose serverless sql databases (#2078) #2608

chore(product_catalog): expose serverless sql databases (#2078)

chore(product_catalog): expose serverless sql databases (#2078) #2608

Workflow file for this run

name: Check type hinting
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
merge_group:
jobs:
mypy:
runs-on: ubuntu-latest
strategy:
matrix:
lib:
- scaleway-core
- scaleway
- scaleway-async
python-version: [ '3.10' ,'3.11', '3.12', '3.13' ]
defaults:
run:
working-directory: ${{ matrix.lib }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies and library
run: poetry install
- name: Check typing
run: poetry run mypy --install-types --non-interactive --strict --no-warn-unused-ignores "$(echo "${{ matrix.lib }}" | tr "-" "_")"
ty:
runs-on: ubuntu-latest
strategy:
matrix:
lib:
- scaleway-core
- scaleway
- scaleway-async
python-version: [ '3.10' ,'3.11', '3.12', '3.13' ]
defaults:
run:
working-directory: ${{ matrix.lib }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies and library
run: poetry install
- name: Check typing
run: poetry run ty check
pyrefly:
runs-on: ubuntu-latest
strategy:
matrix:
lib:
- scaleway-core
- scaleway
- scaleway-async
python-version: [ '3.10' ,'3.11', '3.12', '3.13' ]
defaults:
run:
working-directory: ${{ matrix.lib }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies and library
run: poetry install
- name: Check typing with pyrefly
run: poetry run pyrefly check