Skip to content

cleanup

cleanup #110

Workflow file for this run

name: PyTest
on: [ push ]
jobs:
pytest:
defaults:
run:
shell: bash -l {0}
name: PyTest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.11
mamba-version: "*"
channels: conda-forge,defaults,pytorch
channel-priority: true
activate-environment: albatross-env
environment-file: environment.yml
- name: list conda info
run: |
conda info
conda list
conda config --show-sources
conda config --show
- name: setup git mail
run: git config --global user.email "email"
- name: Setup git user name
run: git config --global user.name "username"
- name: See python path
run: echo $CONDA/bin/python
- 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 activate albatross-env; pytest test