added trained models #93
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: PyTest | |
on: [ push ] | |
jobs: | |
pytest: | |
defaults: | |
run: | |
shell: bash -l {0} | |
name: PyTest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Add conda to system path | |
run: | | |
echo $CONDA/bin >> $GITHUB_PATH | |
- name: Setup Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: setup git mail | |
run: git config --global user.email "[email protected]" | |
- name: Setup git user name | |
run: git config --global user.name "ymahlau" | |
- name: See python path | |
run: echo $CONDA/bin/python | |
- name: Install dependencies | |
run: $CONDA/bin/conda env update --file environment.yml --name base | |
- name: List pip installations | |
run: $CONDA/bin/pip list | |
- name: Compile C++ Library | |
run: cd "src/cpp/alglib"; sh linux_compile.sh; cd ".."; sh linux_compile.sh; cd "../.." | |
- name: Run pytest | |
run: export PYTHONPATH="/home/runner/work/albatross/albatross"; $CONDA/bin/pytest test |