From db9f9d870b2614ec9c39cdbb5c631eef6f68ee94 Mon Sep 17 00:00:00 2001 From: Jonas Schuhmacher Date: Tue, 15 Oct 2024 15:42:49 +0200 Subject: [PATCH] update workflow --- .github/workflows/build-and-test.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 6b39c3c..2651217 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -52,9 +52,21 @@ jobs: environment-file: environment.yml cache-downloads: true cache-environment: true - init-shell: bash powershell - - name: Install & Test polyhedral-gravity + init-shell: >- + bash + powershell + post-cleanup: 'all' + - 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' +