Skip to content

Commit

Permalink
Update testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrine committed Feb 21, 2021
1 parent d2b61af commit f7105e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,24 @@ jobs:
- name: Install deps with conda
run: |
export ${{ matrix.env }}
conda init bash
conda activate test
conda install --yes numpy mkl-service
conda install --yes pytorch${PYTORCH_VERSION} cpuonly -c ${PYTORCH_CHANNEL}
conda install --yes --file requirements-dev.txt
conda install --yes conda-build
conda develop .
- name: Run info
shell: bash -l {0}
run: |
conda --version && python3 --version && python3 -c 'import torch; print("torch", torch.__version__)'
- name: Run Linters
shell: bash -l {0}
run: make lint
- name: Run Tests
shell: bash -l {0}
run: |
pytest -v geoopt tests --durations=0 --doctest-modules ${COVERAGE}
- name: Coverage
shell: bash -l {0}
run: if [[ $COVERAGE ]]; then coveralls; fi


Expand Down

0 comments on commit f7105e0

Please sign in to comment.