forked from kedro-org/kedro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
45 lines (43 loc) · 1.58 KB
/
.gitpod.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
image: gitpod/workspace-full:legacy-dazzle-v1
tasks:
# We want packages installed during the pre-build init steps to go to /workspace
# rather than ~ so that they are persisted. Gitpod sets PIP_USER=yes to ensure this,
# but pre-commit requires PIP_USER=no. Hence we set PIP_USER=no and use
# pip install --user to install to /workspace.
- name: kedro
before: |
echo PIP_USER=no >> ~/.bashrc && export PIP_USER=no
init: |
make sign-off
pip install -r test_requirements.txt --user
gp sync-done kedro
command: |
pre-commit install --install-hooks
clear
# Generate a test Kedro project at /workspace/project using the local Kedro version.
- name: test-project
init: |
gp sync-await kedro
export PIP_USER=no
cd /workspace
pip install -e /workspace/kedro --no-deps
yes project | kedro new -s pandas-iris --checkout main
command: |
pip install -e /workspace/kedro --no-deps
cd /workspace/project
clear
kedro info
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: false
# add a "Review in Gitpod" button to pull requests (defaults to false)
addBadge: true