Skip to content

Commit

Permalink
Mit lite (#97)
Browse files Browse the repository at this point in the history
* Detached branch (#94)

* v1.2.0 for lighter install.

* update main-ci.yml

* fixed test_dataset

* added zipfile and request

* added torch and torchio

* added missing dep in main-ci

* Detached branch (#94)

* v1.2.0 for lighter install.

* update main-ci.yml

* fixed test_dataset

* updated PyPI push with API key
  • Loading branch information
skim2257 authored Feb 6, 2024
1 parent afea698 commit 07dad6c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-pkg-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ jobs:
- run: echo 'Tests successful. Publishing to PyPI now.'
- name: Build app (Ubuntu / macOS)
env:
USERNAME: ${{ secrets.pypi_username }}
KEY: ${{ secrets.pypi_pw }}
run: python -m twine upload --skip-existing -u $USERNAME -p $KEY dist/*
KEY: ${{ secrets.pypi_api }}
run: python -m twine upload --skip-existing -p $KEY dist/*
5 changes: 2 additions & 3 deletions .github/workflows/build-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ jobs:
- run: echo 'Tests successful. Publishing to PyPI now.'
- name: Build app (Ubuntu / macOS)
env:
USERNAME: ${{ secrets.pypi_username }}
KEY: ${{ secrets.pypi_pw }}
run: python -m twine upload --skip-existing -u $USERNAME -p $KEY dist/*
KEY: ${{ secrets.pypi_api }}
run: python -m twine upload --skip-existing -p $KEY dist/*
2 changes: 1 addition & 1 deletion .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest setuptools wheel twine torch torchio
python -m pip install flake8 pytest setuptools wheel twine torch torchio scikit-learn
pip install -e .
pip install -r requirements.txt
- name: Import checking
Expand Down

0 comments on commit 07dad6c

Please sign in to comment.