Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge master #215

Merged
merged 89 commits into from
Sep 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
a566dc6
fixes randbiasfield (#2645)
wyli Jul 23, 2021
325775b
1979 Enhance TTA to align with Invertd args and support no label (#2654)
Nic-Ma Jul 26, 2021
141e9db
2635 Enhance doc-string of UNet for spatial size (#2641)
Nic-Ma Jul 26, 2021
8d4f45f
new theme (#2657)
wyli Jul 27, 2021
aaeebd6
2635 enhance UNet doc for the typical use case (#2659)
Nic-Ma Jul 27, 2021
c4833f5
2648 add `RandCoarseDropout` transform (#2658)
Nic-Ma Jul 27, 2021
35e45df
add citation metadata (#2663)
wyli Jul 28, 2021
d8613b2
2648 Add LongestRescale transform (#2662)
Nic-Ma Jul 29, 2021
30ce63d
Stain normalization (#2666)
bhashemian Jul 30, 2021
390fe7f
2583 Add DatasetCalculator (#2616)
yiheng-wang-nv Jul 30, 2021
607a31a
2648 Enhance RandLambda to execute deterministic transforms for rando…
Nic-Ma Jul 30, 2021
7f42efe
Restructure pathology transforms (#2671)
bhashemian Jul 30, 2021
4f7371a
Updated RandKSpaceSpikeNoised. Collected Fourier mappings. (#2665)
yanielc Aug 2, 2021
9ecb0e1
Change MONAI author from a person to en entity (#2690)
tvercaut Aug 3, 2021
482ff5d
2679 Add IntensityStats transform to record intensity statistics into…
Nic-Ma Aug 4, 2021
f6ad4ba
2687 2688 Enhance doc-strings of Affine related transforms (#2693)
Nic-Ma Aug 4, 2021
03a8372
[DLMED] update int method (#2696)
Nic-Ma Aug 5, 2021
4298b14
Increase timeout of tests (#2711)
madil90 Aug 6, 2021
62425d7
2499 adds 2d/3d support of patchembedding, ViT, and unetr model (#2698)
wyli Aug 6, 2021
945e21c
[2678] Add transform to fill holes and to filter (#2692)
Spenhouet Aug 7, 2021
1ffa909
Remove unnecessary use of comprehension (#2719)
deepsource-autofix[bot] Aug 7, 2021
2f1c7a5
[DLMED] add select_fn for MaskIntensity (#2726)
Nic-Ma Aug 9, 2021
ce4960d
Reorganize datasets and metrics in pathology (#2742)
bhashemian Aug 10, 2021
33184fa
Update Mish to default PyTorch 1.9 version (#2733)
digantamisra98 Aug 11, 2021
f9bc713
2691 Add HistogramIntensity transform (#2738)
Nic-Ma Aug 11, 2021
8726dd5
Nvtx transform (#2713)
bhashemian Aug 12, 2021
a6cf9b6
[WIP] OneOf Transform (#2551)
lyndonboone Aug 12, 2021
a7d4574
2743 - no extension check for user specified reader (#2751)
wyli Aug 13, 2021
2ca9710
2746 Add round support to AsDiscrete transform (#2753)
Nic-Ma Aug 13, 2021
6f12e18
2749 Fix ThreadDataLoader reset (#2750)
Nic-Ma Aug 13, 2021
e91065c
[DLMED] enhance partition_data_classes (#2761)
Nic-Ma Aug 13, 2021
8b5ea0f
NVTX Range Transform (#2756)
bhashemian Aug 13, 2021
5fe8440
[DLMED] enhance the doc of transform (#2767)
Nic-Ma Aug 13, 2021
7ea09bf
Fix `UpSample` issue and enhance `UpCat` (#2766)
yiheng-wang-nv Aug 14, 2021
db81f40
2768 Add parameter bias for conv blocks (#2773)
yiheng-wang-nv Aug 15, 2021
1cacfd3
[DLMED] add numpy pad args (#2780)
Nic-Ma Aug 16, 2021
4801ecf
add unittest.main (#2783)
rijobro Aug 16, 2021
2d99ae5
2697 enhance norm (#2784)
yiheng-wang-nv Aug 16, 2021
2bf67d4
[DLMED] fix typo (#2790)
Nic-Ma Aug 17, 2021
dea3f70
fixes #2771 (#2793)
wyli Aug 17, 2021
a38bae3
remove post-merge dev branch test (#2786)
wyli Aug 17, 2021
cf6edc7
RandGaussianNoise and SavitzkyGolaySmooth Torch/NumpyTransforms (#2740)
rijobro Aug 17, 2021
0840dbb
enhance dynunet docstrings (#2792)
yiheng-wang-nv Aug 17, 2021
cc31355
Update license example (#2788)
evberrypi Aug 17, 2021
46d5f2a
Add NVTX handlers (#2765)
bhashemian Aug 17, 2021
28856b8
2789 Add ToDevice transform (#2791)
Nic-Ma Aug 18, 2021
e223932
2796 Enhance doc-string of cache datasets (#2799)
Nic-Ma Aug 18, 2021
ce196e0
[DLMED] enhance samples crop (#2804)
Nic-Ma Aug 19, 2021
7f05d78
get number of data conversions (#2800)
rijobro Aug 19, 2021
5fe5a0b
print backends of all MONAI transforms (#2801)
rijobro Aug 19, 2021
7659869
Pad base class (#2802)
rijobro Aug 19, 2021
2c7ec57
[DLMED] enhance CropForegroundd transform (#2808)
Nic-Ma Aug 20, 2021
c39f6fa
sunset premerge self-hosted pipelines (#2803)
wyli Aug 21, 2021
93d467d
torch transforms - RandRicianNoise, StdShiftIntensity, RandStdShiftIn…
rijobro Aug 23, 2021
aad8bb2
sunset nightly tests (#2820)
wyli Aug 23, 2021
42ad892
NVTX Range universal decorator (#2814)
bhashemian Aug 24, 2021
fab8467
Torch flip (#2822)
rijobro Aug 24, 2021
b4def1a
all close (#2829)
rijobro Aug 24, 2021
fe559e5
Normalize intensity (#2831)
rijobro Aug 24, 2021
38ecaef
Update Range decorator (#2834)
bhashemian Aug 24, 2021
fa5bc15
Scale intensity (#2832)
rijobro Aug 25, 2021
acf4a9f
backends -> backend (#2838)
rijobro Aug 25, 2021
a88976c
2707 Add support to randomly fill cutout holes (#2837)
Nic-Ma Aug 25, 2021
26f8446
ShiftIntensityd, RandShiftIntensityd (#2839)
rijobro Aug 25, 2021
415f994
2812 enhance swish and efficientnet (#2813)
yiheng-wang-nv Aug 26, 2021
1065dad
temp. resume github premerge tests (#2853)
wyli Aug 26, 2021
ce139f6
CI: pre-commit (#2843)
Borda Aug 26, 2021
3eb71c7
Local Patch Shuffle Transform Initial Version Added (#2757)
finalelement Aug 26, 2021
dd56514
extend ResNet pretrained info (#2854)
Borda Aug 26, 2021
f981ad0
2707 Fill the outside of holes (#2848)
Nic-Ma Aug 27, 2021
f99ebda
Add deepedit transforms (#2810)
diazandr3s Aug 27, 2021
321454c
[DLMED] add missing return (#2857)
Nic-Ma Aug 27, 2021
aa5fa1d
add cupy tests (#2858)
wyli Aug 27, 2021
fe6ac0a
AddChannel, AsChannelFirst, AsChannelLast, EnsureChannelFirst, Identi…
rijobro Aug 27, 2021
c99bd41
EnsureType, RemoveRepeatedChannel, SplitChannel, ToCupy, ToNumpy, ToP…
rijobro Aug 29, 2021
67aa4cf
add classification support for ViT Model (#2861)
ahatamiz Aug 29, 2021
895592e
Add thread args to ThreadBuffer (#2862)
Nic-Ma Aug 30, 2021
a25b733
DataStats, LabelToMask, Lambda, RandLambda, SqueezeDim, is_module_ver…
rijobro Aug 30, 2021
6dc9b3e
update to use pytorch 21.08 base image (#2867)
wyli Aug 31, 2021
e9f6e51
2639 documentation for the deprecated API (#2865)
wyli Aug 31, 2021
b0c83db
[DLMED] enhance doc-string of ToDevice (#2874)
Nic-Ma Aug 31, 2021
9990179
[DLMED] simplify random seed (#2875)
Nic-Ma Aug 31, 2021
7bfa428
[DLMED] enhance image reader doc-string for multi-files (#2876)
Nic-Ma Sep 1, 2021
50dcf8d
split CI package (#2863)
Borda Sep 2, 2021
245ab94
Split On Grid (#2879)
bhashemian Sep 3, 2021
9c7b71f
2885 2899 Add support to support subclass of Tensor or numpy array (#…
Nic-Ma Sep 6, 2021
1ecf5b6
rename `n_classes` to `num_classes` (#2842)
Borda Sep 6, 2021
b770793
Update NVTX Range (#2890)
bhashemian Sep 6, 2021
e24f1b1
List Comprehension for ITC (#2906)
bhashemian Sep 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ enabled = true

[[analyzers]]
name = "shell"
enabled = true
enabled = true
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ coverage.xml
*.toml

!README.md

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ assignees: ''
**Please use MONAI's Discussions tab**
For questions relating to MONAI usage, please do not create an issue.

Instead, use [MONAI's GitHub Discussions tab](https://github.com/Project-MONAI/MONAI/discussions). This can be found next to Issues and Pull Requests along the top of our repository.
Instead, use [MONAI's GitHub Discussions tab](https://github.com/Project-MONAI/MONAI/discussions). This can be found next to Issues and Pull Requests along the top of our repository.
10 changes: 5 additions & 5 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: crons

on:
schedule:
- cron: "0 2 * * *" # at 02:00 UTC
# schedule:
# - cron: "0 2 * * *" # at 02:00 UTC
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
if: github.repository == 'Project-MONAI/MONAI'
strategy:
matrix:
container: ["pytorch:21.02", "pytorch:21.06"] # 21.02 for backward comp.
container: ["pytorch:21.02", "pytorch:21.08"] # 21.02 for backward comp.
container:
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
options: "--gpus all"
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
if: github.repository == 'Project-MONAI/MONAI'
strategy:
matrix:
container: ["pytorch:21.02", "pytorch:21.06"] # 21.02 for backward comp.
container: ["pytorch:21.02", "pytorch:21.08"] # 21.02 for backward comp.
container:
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
options: "--gpus all"
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
if: github.repository == 'Project-MONAI/MONAI'
needs: cron-gpu # so that monai itself is verified first
container:
image: nvcr.io/nvidia/pytorch:21.06-py3 # testing with the latest pytorch base image
image: nvcr.io/nvidia/pytorch:21.08-py3 # testing with the latest pytorch base image
options: "--gpus all --ipc=host"
runs-on: [self-hosted, linux, x64, common]
steps:
Expand Down
134 changes: 134 additions & 0 deletions .github/workflows/pythonapp-gpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
name: build-gpu

on:
# quick tests for pull requests and the releasing branches
push:
branches:
- main
- releasing/*
pull_request:

concurrency:
# automatically cancel the previously triggered workflows when there's a newer version
group: build-gpu-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
GPU-quick-py3: # GPU with full dependencies
if: github.repository == 'Project-MONAI/MONAI'
strategy:
matrix:
environment:
- "PT16+CUDA110"
- "PT17+CUDA102"
- "PT17+CUDA110"
- "PT18+CUDA102"
- "PT19+CUDA114"
- "PT19+CUDA102"
include:
- environment: PT16+CUDA110
# we explicitly set pytorch to -h to avoid pip install error
pytorch: "-h"
base: "nvcr.io/nvidia/pytorch:20.07-py3"
- environment: PT17+CUDA102
pytorch: "torch==1.7.1 torchvision==0.8.2"
base: "nvcr.io/nvidia/cuda:10.2-devel-ubuntu18.04"
- environment: PT17+CUDA110
# we explicitly set pytorch to -h to avoid pip install error
pytorch: "-h"
base: "nvcr.io/nvidia/pytorch:20.09-py3"
- environment: PT18+CUDA102
pytorch: "torch==1.8.1 torchvision==0.9.1"
base: "nvcr.io/nvidia/cuda:10.2-devel-ubuntu18.04"
- environment: PT19+CUDA114
# we explicitly set pytorch to -h to avoid pip install error
# https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes
# 21.08: 1.10.0a0+3fd9dcf
pytorch: "-h"
base: "nvcr.io/nvidia/pytorch:21.08-py3"
- environment: PT19+CUDA102
pytorch: "torch==1.9.0 torchvision==0.10.0"
base: "nvcr.io/nvidia/cuda:10.2-devel-ubuntu18.04"
container:
image: ${{ matrix.base }}
options: --gpus all
runs-on: [self-hosted, linux, x64, common]
steps:
- uses: actions/checkout@v2
- name: apt install
run: |
if [ ${{ matrix.environment }} = "PT17+CUDA102" ] || \
[ ${{ matrix.environment }} = "PT18+CUDA102" ] || \
[ ${{ matrix.environment }} = "PT19+CUDA102" ]
then
PYVER=3.6 PYSFX=3 DISTUTILS=python3-distutils && \
apt-get update && apt-get install -y --no-install-recommends \
curl \
pkg-config \
python$PYVER \
python$PYVER-dev \
python$PYSFX-pip \
$DISTUTILS \
rsync \
swig \
unzip \
zip \
zlib1g-dev \
libboost-locale-dev \
libboost-program-options-dev \
libboost-system-dev \
libboost-thread-dev \
libboost-test-dev \
libgoogle-glog-dev \
libjsoncpp-dev \
cmake \
git && \
rm -rf /var/lib/apt/lists/* && \
export PYTHONIOENCODING=utf-8 LC_ALL=C.UTF-8 && \
rm -f /usr/bin/python && \
rm -f /usr/bin/python`echo $PYVER | cut -c1-1` && \
ln -s /usr/bin/python$PYVER /usr/bin/python && \
ln -s /usr/bin/python$PYVER /usr/bin/python`echo $PYVER | cut -c1-1` &&
curl -O https://bootstrap.pypa.io/get-pip.py && \
python get-pip.py && \
rm get-pip.py;
fi
- if: matrix.environment == 'PT19+CUDA114'
name: Optional Cupy dependency (cuda114)
run: echo "cupy-cuda114" >> requirements-dev.txt
- name: Install dependencies
run: |
which python
python -m pip install --upgrade pip wheel
python -m pip install ${{ matrix.pytorch }}
python -m pip install -r requirements-dev.txt
python -m pip list
- name: Run quick tests (GPU)
run: |
git clone --depth 1 \
https://github.com/Project-MONAI/MONAI-extra-test-data.git /MONAI-extra-test-data
export MONAI_EXTRA_TEST_DATA="/MONAI-extra-test-data"
nvidia-smi
export LAUNCH_DELAY=$(python -c "import numpy; print(numpy.random.randint(30) * 10)")
echo "Sleep $LAUNCH_DELAY"
sleep $LAUNCH_DELAY
export CUDA_VISIBLE_DEVICES=$(coverage run -m tests.utils)
echo $CUDA_VISIBLE_DEVICES
trap 'if pgrep python; then pkill python; fi;' ERR
python -c $'import torch\na,b=torch.zeros(1,device="cuda:0"),torch.zeros(1,device="cuda:1");\nwhile True:print(a,b)' > /dev/null &
python -c "import torch; print(torch.__version__); print('{} of GPUs available'.format(torch.cuda.device_count()))"
python -c 'import torch; print(torch.rand(5, 3, device=torch.device("cuda:0")))'
python -c "import monai; monai.config.print_config()"
# build for the current self-hosted CI Tesla V100
BUILD_MONAI=1 TORCH_CUDA_ARCH_LIST="7.0" ./runtests.sh --quick --unittests
if [ ${{ matrix.environment }} = "PT19+CUDA102" ]; then
# test the clang-format tool downloading once
coverage run -m tests.clang_format_utils
fi
coverage xml
if pgrep python; then pkill python; fi
shell: bash
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
155 changes: 25 additions & 130 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,122 +200,11 @@ jobs:
env:
QUICKTEST: True

GPU-quick-py3: # GPU with full dependencies
if: github.repository == 'Project-MONAI/MONAI'
strategy:
matrix:
environment:
- "PT16+CUDA110"
- "PT17+CUDA102"
- "PT17+CUDA110"
- "PT18+CUDA102"
- "PT19+CUDA113"
- "PT19+CUDA102"
include:
- environment: PT16+CUDA110
# we explicitly set pytorch to -h to avoid pip install error
pytorch: "-h"
base: "nvcr.io/nvidia/pytorch:20.07-py3"
- environment: PT17+CUDA102
pytorch: "torch==1.7.1 torchvision==0.8.2"
base: "nvcr.io/nvidia/cuda:10.2-devel-ubuntu18.04"
- environment: PT17+CUDA110
# we explicitly set pytorch to -h to avoid pip install error
pytorch: "-h"
base: "nvcr.io/nvidia/pytorch:20.09-py3"
- environment: PT18+CUDA102
pytorch: "torch==1.8.1 torchvision==0.9.1"
base: "nvcr.io/nvidia/cuda:10.2-devel-ubuntu18.04"
- environment: PT19+CUDA113
# we explicitly set pytorch to -h to avoid pip install error
pytorch: "-h"
base: "nvcr.io/nvidia/pytorch:21.06-py3"
- environment: PT19+CUDA102
pytorch: "torch==1.9.0 torchvision==0.10.0"
base: "nvcr.io/nvidia/cuda:10.2-devel-ubuntu18.04"
container:
image: ${{ matrix.base }}
options: --gpus all
runs-on: [self-hosted, linux, x64, common]
steps:
- uses: actions/checkout@v2
- name: apt install
run: |
if [ ${{ matrix.environment }} = "PT17+CUDA102" ] || \
[ ${{ matrix.environment }} = "PT18+CUDA102" ] || \
[ ${{ matrix.environment }} = "PT19+CUDA102" ]
then
PYVER=3.6 PYSFX=3 DISTUTILS=python3-distutils && \
apt-get update && apt-get install -y --no-install-recommends \
curl \
pkg-config \
python$PYVER \
python$PYVER-dev \
python$PYSFX-pip \
$DISTUTILS \
rsync \
swig \
unzip \
zip \
zlib1g-dev \
libboost-locale-dev \
libboost-program-options-dev \
libboost-system-dev \
libboost-thread-dev \
libboost-test-dev \
libgoogle-glog-dev \
libjsoncpp-dev \
cmake \
git && \
rm -rf /var/lib/apt/lists/* && \
export PYTHONIOENCODING=utf-8 LC_ALL=C.UTF-8 && \
rm -f /usr/bin/python && \
rm -f /usr/bin/python`echo $PYVER | cut -c1-1` && \
ln -s /usr/bin/python$PYVER /usr/bin/python && \
ln -s /usr/bin/python$PYVER /usr/bin/python`echo $PYVER | cut -c1-1` &&
curl -O https://bootstrap.pypa.io/get-pip.py && \
python get-pip.py && \
rm get-pip.py;
fi
- name: Install dependencies
run: |
which python
python -m pip install --upgrade pip wheel
python -m pip install ${{ matrix.pytorch }}
python -m pip install -r requirements-dev.txt
python -m pip list
- name: Run quick tests (GPU)
run: |
git clone --depth 1 \
https://github.com/Project-MONAI/MONAI-extra-test-data.git /MONAI-extra-test-data
export MONAI_EXTRA_TEST_DATA="/MONAI-extra-test-data"
nvidia-smi
export LAUNCH_DELAY=$(python -c "import numpy; print(numpy.random.randint(30) * 10)")
echo "Sleep $LAUNCH_DELAY"
sleep $LAUNCH_DELAY
export CUDA_VISIBLE_DEVICES=$(coverage run -m tests.utils)
echo $CUDA_VISIBLE_DEVICES
trap 'if pgrep python; then pkill python; fi;' ERR
python -c $'import torch\na,b=torch.zeros(1,device="cuda:0"),torch.zeros(1,device="cuda:1");\nwhile True:print(a,b)' > /dev/null &
python -c "import torch; print(torch.__version__); print('{} of GPUs available'.format(torch.cuda.device_count()))"
python -c 'import torch; print(torch.rand(5, 3, device=torch.device("cuda:0")))'
python -c "import monai; monai.config.print_config()"
# build for the current self-hosted CI Tesla V100
BUILD_MONAI=1 TORCH_CUDA_ARCH_LIST="7.0" ./runtests.sh --quick --unittests
if [ ${{ matrix.environment }} = "PT19+CUDA102" ]; then
# test the clang-format tool downloading once
coverage run -m tests.clang_format_utils
fi
coverage xml
if pgrep python; then pkill python; fi
shell: bash
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml

packaging:
runs-on: ubuntu-latest
env:
QUICKTEST: True
shell: bash
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -343,51 +232,57 @@ jobs:
# however, "pip install monai*.tar.gz" will build cpp/cuda with an isolated
# fresh torch installation according to pyproject.toml
python -m pip install torch>=1.5 torchvision
- name: Test source archive and wheel file
- name: Check packages
run: |
pip uninstall monai
pip list | grep -iv monai
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
root_dir=$PWD
echo "$root_dir"
set -e

# build tar.gz and wheel
python setup.py check -m -s
python setup.py sdist bdist_wheel
python -m twine check dist/*

- run: echo "::set-output name=pwd::$PWD"
id: root
- run: echo "::set-output name=tmp_dir::$(mktemp -d)"
id: mktemp
- name: Move packages
run: |
printf ${{ steps.root.outputs.pwd }}
printf ${{ steps.mktemp.outputs.tmp_dir }}
# move packages to a temp dir
tmp_dir=$(mktemp -d)
cp dist/monai* "$tmp_dir"
cp dist/monai* "${{ steps.mktemp.outputs.tmp_dir }}"
rm -r build dist monai.egg-info
cd "$tmp_dir"
cd "${{ steps.mktemp.outputs.tmp_dir }}"
ls -al

- name: Install wheel file
working-directory: ${{ steps.mktemp.outputs.tmp_dir }}
run: |
# install from wheel
python -m pip install monai*.whl
python -c 'import monai; monai.config.print_config()' 2>&1 | grep -iv "unknown"
python -c 'import monai; print(monai.__file__)'
python -m pip uninstall -y monai
rm monai*.whl

- name: Install source archive
working-directory: ${{ steps.mktemp.outputs.tmp_dir }}
run: |
# install from tar.gz
name=$(ls *.tar.gz | head -n1)
echo $name
python -m pip install $name[all]
python -c 'import monai; monai.config.print_config()' 2>&1 | grep -iv "unknown"
python -c 'import monai; print(monai.__file__)'

- name: Quick test
working-directory: ${{ steps.mktemp.outputs.tmp_dir }}
run: |
# run min tests
cp $root_dir/requirements*.txt "$tmp_dir"
cp -r $root_dir/tests "$tmp_dir"
pwd
cp ${{ steps.root.outputs.pwd }}/requirements*.txt .
cp -r ${{ steps.root.outputs.pwd }}/tests .
ls -al
python -m pip install -r requirements-dev.txt
python -m unittest -v
env:
QUICKTEST: True
shell: bash

build-docs:
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/setupapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
# full tests for all the important branches
push:
branches:
- dev
- main
- releasing/*
- feature/*
Expand Down
Loading