Skip to content

Gtk/fuzzy overlay (#79) #131

Gtk/fuzzy overlay (#79)

Gtk/fuzzy overlay (#79) #131

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", "macos-latest", "windows-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: 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