Skip to content

Commit

Permalink
testing with pipx
Browse files Browse the repository at this point in the history
  • Loading branch information
santacodes committed Jul 22, 2024
1 parent 37f04be commit 2766204
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,8 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Set up uv
uses: yezz123/setup-uv@v4
with:
uv-venv: ".venv"

- name: Install cookiecutter
run: uv pip install cookiecutter
- name: Install cookiecutter and pipx
run: python -m pip install cookiecutter pipx

- name: Generate a project using cookiecutter
run: |
Expand All @@ -127,5 +122,5 @@ jobs:
- name: Install nox and test generated project
working-directory: ./pybamm_example_project
run: |
uv pip install nox[uv]
nox -s generated-project-tests
pipx install nox
pipx run nox -s generated-project-tests

0 comments on commit 2766204

Please sign in to comment.