Repository navigation
perf: autobump bio/vep/plugins/environment.yaml #18858
Workflow file for this run
This file contains hidden or 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: 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 |