Skip to content

Commit

Permalink
Update python-package-conda.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vsyrgkanis authored Jun 28, 2024
1 parent d867902 commit aa90681
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ jobs:

- name: Convert Jupyter notebooks to Python scripts
run: |
find . -name "PM1/*.ipynb" -exec jupyter nbconvert --to script {} \;
find PM1 -name "*.ipynb" -exec jupyter nbconvert --to script {} \;
shell: bash

- name: Run Flake8 linting
run: |
find . -name "PM1/*.py" -exec flake8 {} \;
find PM1 -name "*.py" -exec flake8 {} \;
shell: bash

- name: Run Python scripts with IPython
run: |
mkdir -p logs
find . -name "PM1/*.py" -exec sh -c '
find PM1 -name "*.py" -exec sh -c '
for script; do
echo "Running $script"
ipython $script > "logs/$(basename $script .py).log" 2>&1 || true
Expand Down

0 comments on commit aa90681

Please sign in to comment.