Skip to content

Fix TestPyPI upload #127

Fix TestPyPI upload

Fix TestPyPI upload #127

Workflow file for this run

---
name: Package Build
on:
push:
branches: [main]
tags: ['*']
pull_request:
branches: [main]
# Cancel running jobs for the same workflow and branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# Verify the package builds fine
build-package:
name: Build package
runs-on: ubuntu-latest
environment: package-build
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: hynek/[email protected]
id: build-pkg
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: x # any version
check-latest: true
- name: Test installing wheel
run: |
pip install ${{ steps.build-pkg.outputs.dist }}/*.whl
pip uninstall --yes tm_devices
- name: Test installing tarball
run: |-
pip install ${{ steps.build-pkg.outputs.dist }}/*.tar.gz
pip uninstall --yes tm_devices