Do not export unnecessary conda env vars, use conda run #154
Workflow file for this run
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 Conda | |
on: | |
pull_request: | |
branches: | |
- master | |
- dev | |
push: | |
branches: [ master ] | |
jobs: | |
build-windows: | |
name: windows conda | |
runs-on: "windows-latest" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: 3.9 | |
mamba-version: "*" | |
channels: conda-forge,defaults | |
channel-priority: true | |
activate-environment: mescore | |
environment-file: environment.yml | |
- shell: bash -l {0} | |
run: | | |
conda info | |
conda list | |
conda config --show-sources | |
conda config --show | |
printenv | sort | |
- shell: bash -l {0} | |
run: | | |
conda activate mescore | |
mamba install pytest | |
caimanmanager.py install | |
pip install . | |
DOWNLOAD_GROUND_TRUTHS=1 pytest -s . |