Adding environment.yml #450
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: github-CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest] | |
python-version: ["3.9", "3.10", "3.11"] | |
name: Python ${{ matrix.python-version }} example | |
steps: | |
- uses: actions/checkout@v3 | |
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | |
- name: setup-conda | |
uses: s-weigand/setup-conda@v1 | |
with: | |
update-conda: true | |
python-version: ${{ matrix.python-version }} | |
conda-channels: anaconda, conda-forge | |
- run: conda --version | |
- run: which python | |
- run: | | |
conda config --set always_yes yes | |
conda install conda-build numpy | |
- run: | | |
conda env list | |
conda build ./conf/conda | |