Skip to content

Commit

Permalink
improve steps in action file
Browse files Browse the repository at this point in the history
  • Loading branch information
abearab committed Nov 22, 2024
1 parent 02e628a commit ea7d27c
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/python-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,25 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: "Install miniconda"
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
auto-update-conda: true
mamba-version: "*"
python-version: "3.11"
channels: conda-forge,bioconda,pytorch,nvidia
environment-file: environment.yml
miniconda-version: "latest"
auto-update-conda: true
mamba-version: "*"
python-version: "3.11"
channels: conda-forge,bioconda,pytorch,nvidia
- name: "Create conda environment"
run: |
conda env create -f environment.yml
conda activate ezformer
- name: "Install pytest"
shell: bash -l {0}
run: |
python -m pip install --upgrade pip
pip install setuptools wheel build pytest tomli
- name: "Build package"
run: |
pip install -e .
- name: "Test with pytest"
shell: bash -l {0}
run: |
Expand Down

0 comments on commit ea7d27c

Please sign in to comment.