Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yazhinia authored Nov 29, 2024
1 parent ed3d5d7 commit 4128cef
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
echo "$HOME/miniconda/bin" >> $GITHUB_PATH
source $HOME/miniconda/bin/activate
conda init
source ~/.bashrc
- name: Create Environment
env:
CONDA_OVERRIDE_CUDA: "11.0"
Expand All @@ -25,14 +26,15 @@ jobs:
conda activate mcdevol_env
- name: Verify CUDA Installation
run: |
conda activate mcdevol_env
nvcc --version
nvidia-smi
- name: Lint with flake8
run: |
source $HOME/miniconda/bin/activate mcdevol_env
conda install flake8
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# - name: Lint with flake8
# run: |
# source $HOME/miniconda/bin/activate mcdevol_env
# conda install flake8
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
conda activate mcdevol_env
Expand Down

0 comments on commit 4128cef

Please sign in to comment.