Skip to content

Commit

Permalink
install without conda
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanMainguy authored Aug 28, 2024
1 parent d0eb769 commit a900dfd
Showing 1 changed file with 31 additions and 12 deletions.
43 changes: 31 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,46 @@ jobs:
echo "NUM_CPUS=$nb_cpu_linux" >> "$GITHUB_ENV"
- name: Get core number on macos
if: matrix.os == 'macos-13'
if: matrix.os == 'macos-14'
run: |
nb_cpu_macos=`sysctl -n hw.ncpu`
echo "Number of cores avalaible on the current macos runner $nb_cpu_macos"
echo "NUM_CPUS=$nb_cpu_macos" >> "$GITHUB_ENV"
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Install requirements with miniconda
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
channels: conda-forge,bioconda,defaults
environment-file: ppanggolin_env.yaml
activate-environment: ppanggolin
# # Install requirements with miniconda
# - uses: conda-incubator/setup-miniconda@v3
# with:
# python-version: ${{ matrix.python-version }}
# channels: conda-forge,bioconda,defaults
# environment-file: ppanggolin_env.yaml
# activate-environment: ppanggolin
- name: Set up Python environment
run: |
python3 -m venv ppgg
source ppgg/bin/activate
- name: Install ppanggolin
shell: bash -l {0}
- name: Install dependencies with Homebrew
run: |
pip install .[test]
mmseqs version
brew update
brew upgrade
brew install mmseqs2
brew install mafft
brew install infernal
brew install aragorn
- name: Install ppanggolin
run: |
# Activate the Python environment again in the correct directory
source ppgg/bin/activate
pip3 install .
# - name: Install ppanggolin
# shell: bash -l {0}
# run: |
# pip install .[test]
# mmseqs version

# Check that it is installed and displays help without error
- name: Check that PPanGGOLiN is installed
Expand Down

0 comments on commit a900dfd

Please sign in to comment.