Skip to content

fix: correct arg type of cluster object #817

fix: correct arg type of cluster object

fix: correct arg type of cluster object #817

Workflow file for this run

name: test
on:
pull_request:
paths-ignore:
- "docs/**"
- README.md
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate session (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
jobs:
build:
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
include:
- runs-on: ubuntu-latest
python-version: "3.8"
- runs-on: ubuntu-latest
python-version: "3.9"
- runs-on: ubuntu-latest
python-version: "3.10"
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Install Poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v4
with:
cache: poetry
- name: Build package
run: poetry build
install:
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
include:
- runs-on: ubuntu-latest
python-version: "3.8"
openstack-version: zed
- runs-on: ubuntu-latest
python-version: "3.8"
openstack-version: "2023.1"
- runs-on: ubuntu-latest
python-version: "3.10"
openstack-version: "2023.2"
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Checkout project
uses: actions/checkout@v3
- name: Install Poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v4
with:
cache: poetry
python-version: ${{ matrix.python-version }}
- name: Build package
run: poetry build
- name: Install package using constraints
run: pip install --constraint https://releases.openstack.org/constraints/upper/${{ matrix.openstack-version }} ./dist/*.whl