Skip to content

windows minimal env tests #84

windows minimal env tests

windows minimal env tests #84

name: windows minimal env tests
on:
push:
branches: "main"
pull_request:
branches: "*"
schedule:
- cron: "0 13 * * 1"
jobs:
build:
name: ${{ matrix.os }} py${{ matrix.python-version }} ${{ matrix.environment-file }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["windows-latest"]
python-version: ["3.11"]
environment-file: [".minimal-environment.yml"]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
environment-file: ${{ matrix.environment-file }}
activate-environment: lhorizon
auto-update-conda: false
python-version: ${{ matrix.python-version }}
- name: Set up conda environment
shell: bash -l {0}
run: |
python -m pip install -e .
conda list
- name: Run Tests
shell: bash -l {0}
run: pytest