Make test_petab_model.py runnable from any directory (#2233) #9470
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Branch | |
on: [push, pull_request, 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 | |
- name: Set up SWIG | |
uses: ./.github/actions/setup-swig | |
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV | |
- 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 |