Skip to content

chore(docs): update coverage badge #5

chore(docs): update coverage badge

chore(docs): update coverage badge #5

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) Siemens AG 2019-2025 ALL RIGHTS RESERVED
# SPDX-License-Identifier: MIT
name: PyPI release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
call-build-and-test-workflow:
uses:
./.github/workflows/build-and-test.yml
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/siemens-standard-bom
permissions:
id-token: write
needs: call-build-and-test-workflow
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Poetry
run: |
pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: poetry
cache-dependency-path: poetry.lock
- name: Set Poetry environment
run: |
poetry env use 3.10
- name: Install dependencies
run: |
poetry install --sync --no-interaction
- name: Package project
run: |
poetry build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist