diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 2651217..cdad5a5 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -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' diff --git a/environment.yml b/environment.yml index e8087c0..51d92d9 100644 --- a/environment.yml +++ b/environment.yml @@ -2,6 +2,7 @@ name: polyhedral-gravity-env channels: - conda-forge dependencies: + - python==3.12 - numpy - pytest - pytest-xdist \ No newline at end of file