Skip to content

.github/workflows/rich-codex.yml #39

.github/workflows/rich-codex.yml

.github/workflows/rich-codex.yml #39

Workflow file for this run

name: Generate images for docs
on:
workflow_dispatch:
jobs:
rich_codex:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
with:
python-version: 3.x
cache: pip
cache-dependency-path: setup.py
- name: Install Nextflow
uses: nf-core/setup-nextflow@b9f764e8ba5c76b712ace14ecbfcef0e40ae2dd8 # v1
- name: Cache nf-test installation
id: cache-software
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4
with:
path: |
/usr/local/bin/nf-test
/home/runner/.nf-test/nf-test.jar
key: ${{ runner.os }}-nftest-${{ env.date }}
- name: Install nf-test
if: steps.cache-software.outputs.cache-hit != 'true'
run: |
wget -qO- https://code.askimed.com/install/nf-test | bash
sudo mv nf-test /usr/local/bin/
- name: Install nf-core/tools
run: pip install git+https://github.com/nf-core/tools.git@dev
- name: Generate terminal images with rich-codex
uses: ewels/rich-codex@8ce988cc253c240a3027ba58e33e47640935dd8b # v1
env:
COLUMNS: 100
HIDE_PROGRESS: "true"
with:
commit_changes: "true"
clean_img_paths: docs/images/*.svg
terminal_width: 100
before_command: >
which nextflow &&
which nf-core &&
nextflow -version &&
nf-core --version