Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

# update tutorials #245

# update tutorials

# update tutorials #245

Workflow file for this run

name: build_and_test
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build_and_test:
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- name: Setup conda, install packages, and test orthomap
run: |
sudo apt-get update
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p $HOME/miniconda
source "$HOME/miniconda/etc/profile.d/conda.sh"
hash -r
conda config --set always_yes yes --set changeps1 no
#conda update -q conda
# Useful for debugging any issues with conda
conda info -a
# activate basic env
conda activate
conda install -c conda-forge mamba
# mamba create env
mamba env create -q --file environment.yml
# activate orthomap env
conda activate orthomap_env
# Check pip
echo pip_path
which pip
# Install orthomap
pip install .
# Show installed package
conda list
# command to run tests
pytest -v