Skip to content

Commit

Permalink
Merge pull request #59 from m2lines/main
Browse files Browse the repository at this point in the history
Move from conda to pip for CI (#58)
  • Loading branch information
jatkinson1000 committed Mar 13, 2024
2 parents ca81f6e + 5f9d65a commit 54a35e7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 23 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/python-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Add conda to system path
if: always()
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH

- name: Install dependencies
if: always()
run: |
conda env update --file requirements.conda.yaml --name base
pip install -r requirements.txt
- name: Lint with Pylint
if: always()
Expand Down
15 changes: 0 additions & 15 deletions requirements.conda.yaml

This file was deleted.

7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
torch
black
pytest
pydocstyle
pylint
mypy
netcdf4

0 comments on commit 54a35e7

Please sign in to comment.