Merge pull request #334 from HenriquesLab/bmz_model_export_update #158
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: Create Conda Environment | |
on: [push] | |
jobs: | |
conda: | |
name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
python-version: ["3.9"] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
# mamba-version: "*" | |
auto-update-conda: true | |
environment-file: .binder/environment.yml | |
python-version: ${{ matrix.python-version }} | |
# use-mamba: true | |
- name: Conda info | |
shell: bash -el {0} | |
run: conda info | |
- name: Conda list | |
shell: pwsh | |
run: conda list | |
- name: Conda activate | |
shell: bash -el {0} | |
run: constructor --output-dir dist/main | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ matrix.os }} | |
path: dist/main |