Skip to content

Commit

Permalink
fixing failed generation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
santacodes committed Jul 27, 2024
1 parent a682fbd commit c1364f7
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
run: nox -s docs

generated_project_tests:
needs: [template_test]
needs: [style]

runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -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

0 comments on commit c1364f7

Please sign in to comment.