Skip to content

Add a workflow to upload python module to pypi #58

Add a workflow to upload python module to pypi

Add a workflow to upload python module to pypi #58

Workflow file for this run

name: "Pip"
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
build:
name: Build with Pip
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Protoc Ubuntu
run: sudo apt install protobuf-compiler
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v4
with:
path: "PyTorch_requirements.txt"
- name: Build and install
run: pip install --verbose .
#- name: Test
# run: pytest