Skip to content

Commit

Permalink
Update main.yml (#18)
Browse files Browse the repository at this point in the history
* Update main.yml

* Update requirements.txt

* Update main.yml

* Update main.yml

* build binary/dist

* removed linter

* Update setup.py
  • Loading branch information
skim2257 authored Dec 13, 2021
1 parent acf8cfb commit 9011025
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: master-tests

on: pull_request
on:
pull_request:
workflow_dispatch:

jobs:
build:
Expand All @@ -26,7 +28,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
python -m pip install flake8 pytest setuptools wheel twine
pip install -e .
pip install -r requirements.txt
- name: Import checking
Expand All @@ -35,6 +37,10 @@ jobs:
- name: Run pytest
run: |
pytest tests
- name: Build binary wheel and a source tarball
run: |
python setup.py install
python setup.py sdist bdist_wheel
- name: Build app (Windows)
if: success() && startsWith(matrix.os,'Windows')
env:
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ matplotlib
pandas
pydicom
pynrrd
pytest
scikit-image
SimpleITK
tqdm
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name="med-imagetools",
version="beta-0.1",
version="0.2.0",
author="Michal Kazmierski, Sejin Kim, Vishwesh Ramanathan, Benjamin Haibe-Kains",
author_email="benjamin.haibe.kains@utoronto.ca",
description="Transparent and reproducible image processing pipelines in Python.",
Expand Down

0 comments on commit 9011025

Please sign in to comment.