Skip to content

📌 v0.2.2 release #36

📌 v0.2.2 release

📌 v0.2.2 release #36

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
fast_finish: [false]
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y libxml2-utils pandoc
curl -sSL https://install.python-poetry.org | python3 -
pip install --upgrade pip
pip install -e ".[docs, dev]"
pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.0.0+cpu.html
- name: Build documentation
run: |
sphinx-build -b html docs docs/_build
- name: Get version
run: |
VERSION=$(python -c "from scSLAT import __version__; print(__version__)")
echo "VERSION=${VERSION}" >> $GITHUB_ENV
- name: Create version badge
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_SECRET }}
gistID: ${{ secrets.GIST_ID }}
filename: slat_version.json
label: version
message: ${{ env.VERSION }}
color: blue