Skip to content

perf: Update datavzrd wrapper to latest yte version #10636

perf: Update datavzrd wrapper to latest yte version

perf: Update datavzrd wrapper to latest yte version #10636

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- "*"
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Sphinx environment
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
pip install -r docs/requirements.txt
- name: Test doc generation
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
cd docs
make html
testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup mamba
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: snakemake
channels: "conda-forge, bioconda"
miniforge-version: latest
- name: Setup Snakemake environment
shell: bash -el {0}
run: |
conda config --set channel_priority strict
conda install -n snakemake -y snakemake-minimal snakemake-storage-plugin-http pytest pandas
- name: Fetch master
if: github.ref != 'refs/heads/master'
run: |
git fetch origin master
- name: Run tests
shell: bash -el {0}
env:
DIFF_MASTER: ${{ github.event_name == 'pull_request' }}
DIFF_LAST_COMMIT: ${{ github.ref == 'refs/heads/master' }}
run: |
# run tests
pytest -v test_wrappers.py