Skip to content

Commit

Permalink
Test conda environment on Ubuntu and MacOS, Windows failing as Opensl…
Browse files Browse the repository at this point in the history
…ide is not available via conda

* Test conda environment on all operating systems

* First check out repo

* Try to run conda commands on all platforms with bash

* Openslide not available via conda on Windows
  • Loading branch information
alexkrz authored Dec 7, 2023
1 parent 3d02f41 commit 59b6815
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test-env.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test Env

on:
push:
branches: [main]
pull_request:
branches: [main, "release/*", "dev"]

jobs:
run_env_tests:
name: Test Env (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# os: ["ubuntu-latest", "macos-latest", "windows-latest"] # Openslide not available via conda on Windows
os: ["ubuntu-latest", "macos-latest"]
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: test
environment-file: environment.yaml
auto-activate-base: false
- shell: bash -l {0}
run: |
conda info
conda list

0 comments on commit 59b6815

Please sign in to comment.