Development #57
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
on: | |
push: | |
branches: [ main, development ] | |
pull_request: | |
workflow_dispatch: | |
name: nbdev unit tests | |
jobs: | |
loose_installation: | |
name: Test loose pip installation on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
- name: Conda info | |
shell: bash -l {0} | |
run: conda info | |
- name: Test pip installation with all loose dependencies | |
shell: bash -l {0} | |
run: | | |
cd misc | |
. ./loose_pip_install.sh | |
- name: Unittests | |
shell: bash -l {0} | |
run: | | |
conda activate directlfq | |
nbdev_test | |
conda deactivate |