Skip to content

Commit

Permalink
improve gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanMainguy committed Nov 4, 2023
1 parent 088e9bf commit f6ee247
Showing 1 changed file with 4 additions and 37 deletions.
41 changes: 4 additions & 37 deletions .github/workflows/binette_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
build:

runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
strategy:
fail-fast: false
matrix:
Expand All @@ -18,42 +21,7 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

# # Setting up miniconda
# - uses: conda-incubator/setup-miniconda@v2
# with:
# mamba-version: "*"
# python-version: ${{ matrix.python-version }}
# channels: conda-forge,bioconda,defaults
# activate-environment: test

# - name: Set up test environment
# shell: bash -l {0}
# run: |
# mamba install -y binette

# - name: check installation
# shell: bash -l {0}
# run: |
# python --version
# binette --version

# - uses: actions/checkout@v3
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v3
# with:
# python-version: ${{ matrix.python-version }}
# - name: Add conda to system path
# run: |
# # $CONDA is an environment variable pointing to the root of the miniconda directory
# echo $CONDA/bin >> $GITHUB_PATH
# - name: Install mamba
# run: |
# conda install -c conda-forge mamba
# - name: Install binette dependencies
# run: |
# mamba env update --file binette.yaml --name base

# Setting up miniconda
# Install requirements
- uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
Expand All @@ -63,7 +31,6 @@ jobs:
activate-environment: binette

- name: Install binette
shell: bash -el {0}
run: |
pip install .
binette -h
Expand Down

0 comments on commit f6ee247

Please sign in to comment.