Skip to content

Rename package to foxglove-client, bump version to 0.15.0 #347

Rename package to foxglove-client, bump version to 0.15.0

Rename package to foxglove-client, bump version to 0.15.0 #347

Workflow file for this run

name: CI
on:
push:
branches: [main]
tags: ["releases/**"]
pull_request:
branches: ["*"]
jobs:
python:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.8
cache: pipenv
- run: pip install pipenv==2022.12.19
- run: pipenv install --dev --deploy
- run: pipenv run black --check --diff --color --exclude '.*_pb2.py' .
- run: pipenv run pyright foxglove
- run: pipenv run python -m flake8 foxglove
- run: pipenv run python -m pytest
- run: pipenv run python -m build
- name: Publish to TestPyPI
if: |
!github.event.pull_request.head.repo.fork &&
github.actor != 'dependabot[bot]'
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages_dir: dist
repository_url: https://test.pypi.org/legacy/
skip_existing: true
- name: Publish to PyPI
if: |
!github.event.pull_request.head.repo.fork &&
startsWith(github.ref, 'refs/tags/releases/v')
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages_dir: dist