Skip to content

Commit

Permalink
Add conda-forge channel for environment setup
Browse files Browse the repository at this point in the history
Included the conda-forge channel in the conda setup to ensure consistent package versions. Updated both the `setup-conda` action and the conda environment creation command accordingly.
  • Loading branch information
iosefa committed Sep 20, 2024
1 parent fdabd06 commit 4070abc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ jobs:
with:
auto-update-conda: true
python-version: 3.8
channels: conda-forge
activate-environment: pyforestscan_env

- name: Create Conda environment
run: conda create --name pyforestscan_env python=3.8 pdal
run: conda create --name pyforestscan_env python=3.8 pdal -c conda-forge

- name: Activate Conda environment
run: source activate pyforestscan_env
Expand All @@ -34,4 +36,4 @@ jobs:
pip install -r requirements-dev.txt
- name: Run tests
run: pytest
run: pytest

0 comments on commit 4070abc

Please sign in to comment.