Skip to content

Commit 9ec4a5e

Browse files
Added new workflows and badges
1 parent c7e2065 commit 9ec4a5e

File tree

3 files changed

+74
-2
lines changed

3 files changed

+74
-2
lines changed

.github/workflows/macos-build.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Macos Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- spiros-dev
8+
- spiros-dev-2
9+
pull_request:
10+
branches:
11+
- main
12+
- spiros-dev
13+
- spiros-dev-2
14+
15+
jobs:
16+
test:
17+
runs-on: macos-latest
18+
strategy:
19+
matrix:
20+
python-version: ["3.9", "3.10", "3.11", "3.12"]
21+
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
26+
- name: Setup python version ${{ matrix.python-version }}
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: ${{ matrix.python-version }}
30+
31+
- name: Install dependencies
32+
run: |
33+
pip install -r requirements.txt
34+
python3 -m pip install -e .

.github/workflows/ubuntu-build.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Ubuntu Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- spiros-dev
8+
- spiros-dev-2
9+
pull_request:
10+
branches:
11+
- main
12+
- spiros-dev
13+
- spiros-dev-2
14+
15+
jobs:
16+
test:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
python-version: ["3.9", "3.10", "3.11", "3.12"]
21+
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
26+
- name: Setup python version ${{ matrix.python-version }}
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: ${{ matrix.python-version }}
30+
31+
- name: Install dependencies
32+
run: |
33+
pip install -r requirements.txt
34+
python3 -m pip install -e .

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
![macos tests](https://github.com/CBICA/DLMUSE/actions/workflows/macos-build.yml/badge.svg)
2+
![ubuntu tests](https://github.com/CBICA/DLMUSE/actions/workflows/ubuntu-build.yml/badge.svg)
3+
![PyPI Stable](https://img.shields.io/pypi/v/DLMUSE)
4+
15
# DLMUSE - Deep Learning MUlti-atlas region Segmentation utilizing Ensembles of registration algorithms and parameters
26

37
## Overview
@@ -21,7 +25,7 @@ pip install -e .
2125
```
2226

2327
### Installing PyTorch
24-
Depending on your system configuration and supported CUDA version, you may need to follow the [PyTorch Installation Instructions](https://pytorch.org/get-started/locally/).
28+
Depending on your system configuration and supported CUDA version, you may need to follow the [PyTorch Installation Instructions](https://pytorch.org/get-started/locally/).
2529

2630
## Usage
2731

@@ -38,7 +42,7 @@ DLMUSE -h
3842
```
3943

4044
## \[Windows Users\] Troubleshooting model download failures
41-
Our model download process creates several deep directory structures. If you are on Windows and your model download process fails, it may be due to Windows file path limitations.
45+
Our model download process creates several deep directory structures. If you are on Windows and your model download process fails, it may be due to Windows file path limitations.
4246

4347
To enable long path support in Windows 10, version 1607, and later, the registry key `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem LongPathsEnabled (Type: REG_DWORD)` must exist and be set to 1.
4448

0 commit comments

Comments
 (0)