forked from pybamm-team/pybamm-cookie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d683513
commit 3c70821
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,7 +100,7 @@ jobs: | |
run: nox -s docs | ||
|
||
generated_project_tests: | ||
needs: [template_test] | ||
needs: [style] | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
|
@@ -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 | ||
|
@@ -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 |