Skip to content

fix action naming

fix action naming #5

Workflow file for this run

name: Test README.ipynb
on: [pull_request]
jobs:
runs-on: ubuntu-latest

Check failure on line 6 in .github/workflows/pr-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-test.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install jupyter
pip install nbconvert
pip install black_nbconvert
pip install markupsafe==2.0.1
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
- name: Clear and format Jupyter Notebook output
run: |
jupyter nbconvert --clear-output --inplace *.ipynb
black_nbconvert .
- name: Convert README ipynb to md
run: |
rm -rf README_files
jupyter nbconvert --to markdown --execute README.ipynb