update GA tracker (#306) #112
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 Book | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
Test: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-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 env create -f https://raw.githubusercontent.com/darribas/gds_env/master/gds_py/gds_py.yml | |
conda activate gds | |
pip install -r https://raw.githubusercontent.com/darribas/gds_env/master/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: Run Tests | |
shell: bash -l {0} | |
continue-on-error: false | |
run: | | |
conda activate gds | |
make test |