Skip to content

Commit

Permalink
testing the test again
Browse files Browse the repository at this point in the history
  • Loading branch information
santacodes committed Aug 3, 2024
1 parent d683513 commit 3c70821
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
run: nox -s docs

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

runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -124,13 +124,13 @@ jobs:

- name: Generate projects with different build backends and vcs
run: |
copier copy . ./pybamm-example-project --trust --defaults
copier copy . ../pybamm-example-project --trust --defaults
copier copy . ./pybamm-with-setuptools --data project_name=pybamm-with-setuptools --data project_slug=pybamm_with_setuptools --data backend=setuptools --trust --defaults
copier copy . ../pybamm-with-setuptools --data project_name=pybamm-with-setuptools --data project_slug=pybamm_with_setuptools --data backend=setuptools --trust --defaults
copier copy . ./pybamm-with-setuptools-scm --data project_name=pybamm-with-setuptools-scm --data project_slug=pybamm_with_setuptools_scm --data backend=setuptools --data vcs=true --trust --defaults
copier copy . ../pybamm-with-setuptools-scm --data project_name=pybamm-with-setuptools-scm --data project_slug=pybamm_with_setuptools_scm --data backend=setuptools --data vcs=true --trust --defaults
copier copy . ./pybamm-with-hatch-vcs --data project_name=pybamm-with-hatch-vcs --data project_slug=pybamm_with_hatch_vcs --data backend=hatch --data vcs=true --trust --defaults
copier copy . ../pybamm-with-hatch-vcs --data project_name=pybamm-with-hatch-vcs --data project_slug=pybamm_with_hatch_vcs --data backend=hatch --data vcs=true --trust --defaults
- name: Set up uv
uses: yezz123/setup-uv@v4
Expand All @@ -141,17 +141,17 @@ jobs:
uses: wntrblm/[email protected]

- name: Test the generated project with default hatch build backend and no vcs
working-directory: ./pybamm-example-project
working-directory: ../pybamm-example-project
run: nox -s generated-project-tests

- name: Test the generated project with setuptools build backend and no scm
working-directory: ./pybamm-with-setuptools
working-directory: ../pybamm-with-setuptools
run: nox -s generated-project-tests

- name: Test the generated project with setuptools build backend and scm
working-directory: ./pybamm-with-setuptools-scm
working-directory: ../pybamm-with-setuptools-scm
run: nox -s generated-project-tests

- name: Test the generated project with hatch build backend and vcs
working-directory: ./pybamm-with-hatch-vcs
working-directory: ../pybamm-with-hatch-vcs
run: nox -s generated-project-tests

0 comments on commit 3c70821

Please sign in to comment.