Skip to content

Test wheel installation #2

Test wheel installation

Test wheel installation #2

Workflow file for this run

name: Release
on:
push:
branches:
- dev/add-release-workflow
tags:
- "v*"
workflow_dispatch:
permissions:
contents: read
id-token: write
packages: write
jobs:
release:
runs-on: ubuntu-24.04
environment: release
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Build package
run: |
python3 -m pip install --upgrade build twine setuptools-golang
python3 -m build
setuptools-golang-build-manylinux-wheels --golang=1.23.4 --pythons=cp39-cp39
python3 -m twine check --strict dist/*
- name: Test wheel installation
shell: bash
run: |
python3 -m venv test_env
source test_env/bin/activate
pip install dist/*.whl
python -c "import pygfried; print('Version:', pygfried.__version__)"