Skip to content

chore(deps-dev): bump ty from 0.0.32 to 0.0.34 in the development-dep… #664

chore(deps-dev): bump ty from 0.0.32 to 0.0.34 in the development-dep…

chore(deps-dev): bump ty from 0.0.32 to 0.0.34 in the development-dep… #664

Workflow file for this run

name: Test tap-pulumi-cloud
on:
push:
branches: [main]
paths:
- .github/workflows/constraints.txt
- .github/workflows/test.yml
- tap_pulumi_cloud/**
- tests/**
- pyproject.toml
- uv.lock
pull_request:
paths:
- .github/workflows/constraints.txt
- .github/workflows/test.yml
- tap_pulumi_cloud/**
- tests/**
- pyproject.toml
- uv.lock
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
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
test:
name: Tests
runs-on: ubuntu-latest
needs: [build-package]
strategy:
fail-fast: true
max-parallel: 1
matrix:
python-version: ${{ fromJson(needs.build-package.outputs.supported-python-versions) }}
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install Nox
env:
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt
run: |
uv tool install --with tox-uv tox
tox --version
- name: Run tests
env:
TAP_PULUMI_CLOUD_TOKEN: ${{ secrets.TAP_PULUMI_CLOUD_TOKEN }}
TAP_PULUMI_CLOUD_ORGANIZATIONS: ${{ secrets.TAP_PULUMI_CLOUD_ORGANIZATIONS }}
TAP_PULUMI_CLOUD_START_DATE: ${{ secrets.TAP_PULUMI_CLOUD_START_DATE }}
PYTHON_VERSION: ${{ matrix.python-version }}
run: |
tox -e ${PYTHON_VERSION}
typing:
name: Type Checking
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Run Tox
run: >
uvx
--managed-python
--with=tox-uv
tox -e typing