windows full env tests #84
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: windows full 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: ["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 |