Skip to content

fix: remove raster file added by accident, update version #754

fix: remove raster file added by accident, update version

fix: remove raster file added by accident, update version #754

Workflow file for this run

name: Conda
on:
pull_request:
push:
branches: [master, main]
jobs:
conda-test:
name: Conda Install & Test
strategy:
fail-fast: false
matrix:
python-version: ["3.9"]
platform: ["ubuntu-latest"]
runs-on: ${{ matrix.platform }}
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
environment-file: environment.yml
activate-environment: eis_toolkit
auto-activate-base: false
mamba-version: "*"
channel-priority: true
- name: Set GDAL environment variable for Windows
if: runner.os == 'Windows'
run: echo "USE_PATH_FOR_GDAL_PYTHON=YES" >> $GITHUB_ENV
- name: Print conda environment
run: |
# Print environment
conda info
conda list
python --version
- name: Run unit tests
run: |
# Test package import
python -c 'import eis_toolkit'
# Run unittests with pytest
pytest -v