diff --git a/.github/workflows/test-env.yaml b/.github/workflows/test-env.yaml new file mode 100644 index 0000000..f80dc60 --- /dev/null +++ b/.github/workflows/test-env.yaml @@ -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