Skip to content

Commit

Permalink
Tweak action
Browse files Browse the repository at this point in the history
  • Loading branch information
frankharkins committed Feb 16, 2024
1 parent 4a74d0c commit 731a0d1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/notebook-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,10 @@ jobs:
shell: python
run: |
import subprocess
subprocess.run([
"echo",
"c.InlineBackend.figure_format = 'svg'",
">>",
"~/.ipython/profile_default/ipython_kernel_config.py"
])
subprocess.run(
"echo \"c.InlineBackend.figure_format = 'svg'\" >> ~/.ipython/profile_default/ipython_kernel_config.py",
shell=False
)
files = """${{ steps.all-changed-files.outputs.all_changed_files }}"""
args = ["tox", "--"] + files.split("\n") + ["--write"]
subprocess.run(args, check=True)
Expand Down

0 comments on commit 731a0d1

Please sign in to comment.