Skip to content

Commit

Permalink
use shell: micromamba-shell
Browse files Browse the repository at this point in the history
  • Loading branch information
lldelisle committed Dec 6, 2023
1 parent bcba0c6 commit d22e8cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
environment-name: HiCMatrix_env_ci
- name: Analysing the code with pylint
run: |
micromamba activate HiCMatrix_env_ci
# Disable
# C0103: Invalid name
# C0114: Missing module docstring
Expand All @@ -32,3 +31,4 @@ jobs:
# R1702: Too many nested blocks
# R1728: Consider using a generator
pylint --disable C0103,C0114,C0115,C0116,C0301,C0302,R0801,R0902,R0904,R0912,R0913,R0914,R0915,R1702,R1728 $(git ls-files '*.py')
shell: micromamba-shell {0}
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
environment-name: HiCMatrix_env_ci
- name: pip install
run: |
micromamba activate HiCMatrix_env_ci
python3 -m pip install .
shell: micromamba-shell {0}
- name: Test HiCMatrix
run: |
micromamba activate HiCMatrix_env_ci
py.test hicmatrix/test/ --capture=sys
shell: micromamba-shell {0}
test-osx:
name: Test on OSX
runs-on: macOS-latest
Expand All @@ -44,9 +44,9 @@ jobs:
environment-name: HiCMatrix_env_ci
- name: pip install
run: |
micromamba activate HiCMatrix_env_ci
python3 -m pip install .
shell: micromamba-shell {0}
- name: Test HiCMatrix
run: |
micromamba activate HiCMatrix_env_ci
py.test hicmatrix/test/ --capture=sys
py.test hicmatrix/test/ --capture=sys
shell: micromamba-shell {0}

0 comments on commit d22e8cd

Please sign in to comment.