This repository has been archived by the owner on Feb 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
67 lines (57 loc) · 1.62 KB
/
ci-experiment.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: CI experiments
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
on: # Trigger the workflow on push or pull request, but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]
types: [opened, reopened, ready_for_review, synchronize]
jobs:
bash-expt:
if: github.event.pull_request.draft == false
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python-version: [3.7, 3.8, 3.9]
# Timeout: https://stackoverflow.com/a/59076067/4521646
timeout-minutes: 35
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: install ImSegm
run: |
python --version
pip --version
pip install --quiet wheel
pip install . --user --prefer-binary
rm -rf imsegm
pip list
# create filders
mkdir libs
mkdir output
mkdir results
- name: ANNOTATION section
env:
DISPLAY: ""
run: |
bash handling_annotations/test_annotations.sh
- name: SEGMENTATION section
env:
DISPLAY: ""
run: |
bash experiments_segmentation/test_segmentations.sh
- name: CENTER DETECT. section
env:
DISPLAY: ""
run: |
bash experiments_ovary_centres/test_ovary_centers.sh
- name: REGION GROWING section
env:
DISPLAY: ""
run: |
bash experiments_ovary_detect/test_ovary_detect.sh