-
Notifications
You must be signed in to change notification settings - Fork 4
54 lines (45 loc) · 1.43 KB
/
debug.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
name: debug
# Only run this when the master branch changes
on: [workflow_dispatch]
#on:
# push:
# branches:
# - master
# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Install dependencies
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
# Install conda dependencies
- name: Install dependencies
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
$CONDA/bin/conda env update --file environment.yml --name base
# Install pip dependencies
- name: Install dependencies
run: |
$CONDA/bin/pip install -r requirements.txt
# Show packages
- name: Show packages
run: |
$CONDA/bin/conda list
# Compile the docs
- name: Compile sphinx
run: |
$CONDA/bin/sphinx-apidoc -o docs/source morphodynamics/
# Copy the dataset where necessary
- name: Copy files
run: |
mkdir -p synthetic/data/Results_cellpose
mkdir -p synthetic/data/Results_step
cp -R synthetic/data/Results_ilastik/segmented synthetic/data/Results_cellpose
cp -R synthetic/data/Results_ilastik/segmented synthetic/data/Results_step
# debug using tmate
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3