From b3ac1b265ba8d3a61caf38281b099d2cd9da0605 Mon Sep 17 00:00:00 2001 From: Jonas Schuhmacher Date: Tue, 15 Oct 2024 15:50:00 +0200 Subject: [PATCH] update environment, use Python 3.12 --- .github/workflows/build-and-test.yml | 13 +------------ environment.yml | 1 + 2 files changed, 2 insertions(+), 12 deletions(-) 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