summaryrefslogtreecommitdiff
path: root/app/relay/modules/test.js
blob: 1d7042e3243d1f2a809e80589ec605f9c90349a7 (plain)
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
import path from 'path'

const name = 'test'
const cwd = process.env.TEST_CWD || process.cwd() + '/test/module/'

const cpu = {
	type: 'perl',
  script: 'test.pl',
  params: '--train',
}
const gpu = {
	type: 'python',
  script: 'test.pl',
  params: '--test',
}
const live = {
	type: 'python',
  script: 'test.py',
}

export default {
	name, cwd,
	activities: {
		cpu, gpu, live,
	}
}