From c1364f79ce2b3248f62852b2330f4fc04dd31b0b Mon Sep 17 00:00:00 2001 From: Santhosh Sundaram Date: Sat, 27 Jul 2024 22:31:35 +0530 Subject: [PATCH] fixing failed generation tests --- .github/workflows/test_on_push.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_on_push.yml b/.github/workflows/test_on_push.yml index 27caf25..be4e423 100644 --- a/.github/workflows/test_on_push.yml +++ b/.github/workflows/test_on_push.yml @@ -94,7 +94,7 @@ jobs: run: nox -s docs generated_project_tests: - needs: [template_test] + needs: [style] runs-on: ${{ matrix.os }} strategy: @@ -118,12 +118,13 @@ jobs: with: uv-venv: ".venv" - - name: Install cookiecutter and pipx - run: uv pip install cookiecutter nox[uv] - - - name: Generate a project using cookiecutter - run: cookiecutter . --no-input + - name: Install cookiecutter and generate a project + run: | + uv pip install cookiecutter + cookiecutter . --no-input - name: Install nox and test generated project working-directory: ./pybamm-example-project - run: nox -s generated-project-tests + run: | + uv pip install nox[uv] + nox -s generated-project-tests