Skip to content

Add build wheel CI and use conda.txt and pip.txt for requirements #6

Add build wheel CI and use conda.txt and pip.txt for requirements

Add build wheel CI and use conda.txt and pip.txt for requirements #6

Workflow file for this run

name: release
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
release:
types:
- published
jobs:
dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: hynek/build-and-inspect-python-package@v2
pypi-publish:
needs: [dist]
environment:
name: testpypi
url: https://test/pypi.org/p/cifkit
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: Packages
path: dist
- name: Publish package distributions to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/