Skip to content

Set up a full local test infrastructure for testing the CLI #186

Set up a full local test infrastructure for testing the CLI

Set up a full local test infrastructure for testing the CLI #186

Workflow file for this run

name: Python cryoet_data_portal build
on:
pull_request:
paths:
- "client/python/**"
- ".github/workflows/**" # Re-run if a workflow is modified - useful to test workflow changes in PRs
push:
branches: [main]
workflow_dispatch:
jobs:
build_python_wheels:
name: Build Python wheel and sdist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install deps
run: |
python -m pip install -U pip setuptools build
- name: Build
run: python -m build
working-directory: client/python/cryoet_data_portal/
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
path: client/python/cryoet_data_portal/dist/*