Skip to content

Bump gitpython from 3.1.18 to 3.1.34 in /scripts (#136) #215

Bump gitpython from 3.1.18 to 3.1.34 in /scripts (#136)

Bump gitpython from 3.1.18 to 3.1.34 in /scripts (#136) #215

Workflow file for this run

name: CI
# thanks for @mpariente for copying this workflow
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
# Trigger the workflow on push or pull request
on: [push, pull_request]
jobs:
src-test:
name: conda-tests
runs-on: ubuntu-latest
# Timeout: https://stackoverflow.com/a/59076067/4521646
timeout-minutes: 10
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Cache conda
uses: actions/cache@v2
with:
path: ~/conda_pkgs_dir
key: conda-${{ hashFiles('environment-ci.yml') }}
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: umx-cpu
environment-file: scripts/environment-cpu-linux.yml
auto-update-conda: true
auto-activate-base: false
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install -e .['tests']
python --version
pip --version
python -m pip list
- name: Conda list
run: conda list
- name: Run model test
run: |
py.test tests/test_model.py -v