Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

added notebook formatter in workflow #1

added notebook formatter in workflow

added notebook formatter in workflow #1

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
fix-notebooks:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@main
with:
ref: main
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@main
with:
python-version: '3.10'
- id: fixNotebooks
name: Fix notebook output
uses: GabrielBB/xvfb-action@v1
with:
working-directory: ${{ github.workspace }}
run: |
python -c "from biosimulator_processes.utils import fix_notebooks_execution_count; fix_notebooks_execution_count(); exit();"