Skip to content

Update io module to more complex test case (#240) #290

Update io module to more complex test case (#240)

Update io module to more complex test case (#240) #290

Workflow file for this run

name: Build Project
on:
pull_request:
push:
branches:
- "master"
tags:
- "v*.*.*"
jobs:
build_wheels_and_sdist:
name: Build wheels and sdist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install build dependencies
run: |
python --version
python -m pip install --progress-bar off build
- name: Build wheels and sdist
run: python -m build --sdist --wheel --outdir dist/ .
- uses: actions/[email protected]
with:
name: wheel
path: dist/*.whl
- uses: actions/[email protected]
with:
name: sdist
path: dist/*.tar.gz
Publish:
name: Publish to PyPI
needs: [build_wheels_and_sdist]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Download artifact sdist
uses: actions/[email protected]
with:
name: sdist
path: dist
- name: Download artifact wheel
uses: actions/[email protected]
with:
name: wheel
path: dist
- name: Publish to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}