chore: Bump version to 1.0.2 #758
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |