Skip to content

🎨 Drawing 3D plot keeping the original colours #39

🎨 Drawing 3D plot keeping the original colours

🎨 Drawing 3D plot keeping the original colours #39

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==2.1.1 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