Skip to content

GHA: test installation from pypi on python3.11 #9370

GHA: test installation from pypi on python3.11

GHA: test installation from pypi on python3.11 #9370

Workflow file for this run

name: Deploy Branch
on: [push, merge_group, workflow_dispatch]
jobs:
sdist:
name: Deploy Python Source Distribution
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.9]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
with:
fetch-depth: 20
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV
- run: echo "SWIG=${AMICI_DIR}/ThirdParty/swig-4.0.1/install/bin/swig" >> $GITHUB_ENV
- name: Build swig4
run: |
sudo scripts/downloadAndBuildSwig.sh
- name: Create AMICI sdist
run: |
scripts/buildSdist.sh
- name: "Upload artifact: sdist"
uses: actions/upload-artifact@v3
with:
name: sdist
path: python/sdist/dist/amici-*.gz