From 085ef830ec68815f1ed87155c01b6d337e012abe Mon Sep 17 00:00:00 2001 From: furniturewalatkNIH <137434977+furniturewalatkNIH@users.noreply.github.com> Date: Tue, 30 Apr 2024 22:30:36 -0500 Subject: [PATCH] adding xdist to speed up --- .github/workflows/verify-imports-jupyter-nbmake.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/verify-imports-jupyter-nbmake.yml b/.github/workflows/verify-imports-jupyter-nbmake.yml index 01abe3b..a0b90db 100644 --- a/.github/workflows/verify-imports-jupyter-nbmake.yml +++ b/.github/workflows/verify-imports-jupyter-nbmake.yml @@ -17,10 +17,11 @@ jobs: - name: Install dependencies run: pip install pytest nbmake + pip install pytest-xdist - name: Check each notebook run: - find notebooks/* -name '*.ipynb' -exec pytest --nbmake --nbmake-kernel=python3 --nbmake-find-import-errors {} + + find notebooks/* -name '*.ipynb' -exec pytest --nbmake -n=auto --nbmake-kernel=python3 --nbmake-find-import-errors {} + - name: Check for errors run: |