Skip to content

Commit

Permalink
Install only nox instead of full conda environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Aug 17, 2024
1 parent cfac069 commit 8634c80
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 8634c80

Please sign in to comment.