Skip to content

Test Build

Test Build #8

Workflow file for this run

name: Test Build
on: [workflow_dispatch]
jobs:
build_wheel:
name: Build wheel
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install "setuptools>=67.2.0"
pip install -r requirements.txt
pip install wheel build
- name: Build .whl
run: |
python -m build --wheel --skip-dependency-check
- name: Archive
uses: actions/upload-artifact@v3
with:
path: dist/*.whl
build_source:
name: Build source
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install "setuptools>=67.2.0"
pip install -r requirements.txt
pip install wheel build
- name: Build .tar.gz
run: |
python -m build --sdist --skip-dependency-check
- name: Archive
uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz