Update testing stack to align w/ gds_env:9.1 #106
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: Test GDS Course | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
Test: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
auto-activate-base: true | |
- name: Set up GDS Env | |
shell: bash -l {0} | |
run: | | |
conda update -y -n base -c defaults conda | |
conda --version | |
conda create --name gds --file https://github.com/darribas/gds_env/raw/v9.1/gds_py/gds_py_explicit_ubuntu-latest.txt | |
conda activate gds | |
pip install -r https://github.com/darribas/gds_env/raw/v9.1/gds_py/gds_py_pip.txt | |
- name: Check and Log Environment | |
shell: bash -l {0} | |
run: | | |
conda activate gds | |
conda info | |
# Print conda list | |
conda list | |
- name: Test Blocks | |
shell: bash -l {0} | |
continue-on-error: false | |
run: | | |
conda activate gds | |
make test |