Skip to content

Utility update for generic targets #1825

Utility update for generic targets

Utility update for generic targets #1825

Workflow file for this run

# This workflow builds and checks the package for release
name: Build
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install tox
- name: Test build integrity
run: tox -e build
env:
# Use the CPU only version of torch when building/running the code
PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu