Skip to content

chore: Lock file maintenance #42

chore: Lock file maintenance

chore: Lock file maintenance #42

Workflow file for this run

name: Test tap-meltano-cloud
on:
push:
branches: [main]
paths:
- .github/workflows/test.yml
- tap_meltano_cloud/**
- tests/**
- pyproject.toml
- uv.lock
pull_request:
paths:
- .github/workflows/test.yml
- tap_meltano_cloud/**
- tests/**
- pyproject.toml
- uv.lock
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
FORCE_COLOR: 1
jobs:
build-package:
name: Build & verify package
runs-on: ubuntu-latest
outputs:
supported-python-versions: ${{ steps.baipp.outputs.supported_python_classifiers_json_array }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false
- uses: hynek/build-and-inspect-python-package@fe0a0fb1925ca263d076ca4f2c13e93a6e92a33e # v2.17.0
id: baipp
pytest:
name: Integration
needs: [build-package]
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: ${{ fromJson(needs.build-package.outputs.supported-python-versions) }}
env:
TAP_MELTANO_CLOUD_AUTH_TOKEN: ${{ secrets.TAP_MELTANO_CLOUD_AUTH_TOKEN }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Setup uv
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
- name: Run Tox
run: |
uvx --with=tox-uv tox -e ${{ matrix.python-version }}
typing:
name: Type Checking
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.x
- name: Setup uv
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
- name: Run Tox
run: |
uvx --with=tox-uv tox -e typing