From 8634c80c8ba7a1934ffb41f8bce884d1340cc00f Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Fri, 16 Aug 2024 21:56:32 -0600 Subject: [PATCH] Install only nox instead of full conda environment See https://github.com/csdms/bmi-topography/pull/74. --- .github/workflows/test.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 352d8d1..c9728b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,11 +1,10 @@ -name: Build/Test CI +name: Test on: [push, pull_request] jobs: - build-and-test: - + test: if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository @@ -28,18 +27,10 @@ jobs: with: miniforge-variant: Mambaforge miniforge-version: latest - environment-file: environment.yml - activate-environment: geotiff python-version: ${{ matrix.python-version }} - auto-activate-base: false - - - name: Show conda installation info - run: | - conda info - conda list - - name: Install package - run: pip install -e . + - name: Install nox + run: pip install nox - name: Test run: |