Skip to content

Commit

Permalink
update environment, use Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
schuhmaj committed Oct 15, 2024
1 parent db9f9d8 commit b3ac1b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,10 @@ jobs:
environment-file: environment.yml
cache-downloads: true
cache-environment: true
init-shell: >-
bash
powershell
post-cleanup: 'all'
init-shell: bash powershell
- name: Install & Test polyhedral-gravity (Unix)
run: |
pip install . -vv --no-build-isolation
pytest -n 3
shell: bash -el {0}
if: matrix.os != 'windows-latest'
- name: Install & Test polyhedral-gravity (Windows)
run: |
pip install . -vv --no-build-isolation
pytest -n 3
shell: pwsh
if: matrix.os == 'windows-latest'
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: polyhedral-gravity-env
channels:
- conda-forge
dependencies:
- python==3.12
- numpy
- pytest
- pytest-xdist

0 comments on commit b3ac1b2

Please sign in to comment.