-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yml
70 lines (63 loc) · 1.59 KB
/
Taskfile.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
68
69
70
version: '3'
vars:
VENV_FOLDER_NAME: venv
tasks:
default:
desc: "Default task to list"
cmds:
- task --list-all
w-setup-venv:
platforms:
- windows
desc: setup venv (on windows plataform)
cmds:
- "python -m venv {{.VENV_FOLDER_NAME}}"
- echo "Slepping 5"
- timeout 5
- "{{.VENV_FOLDER_NAME}}\\\\Scripts\\\\pip install -r requirements.txt"
sources:
- requirements.txt
l-setup-venv:
platforms:
- linux
desc: setup venv (on linux plataform)
cmds:
- echo "Not implemented"
sources:
- requirements.txt
w-run-tests:
platforms:
- windows
desc: run tests all tests with pytest (on windows plataform)
cmds:
- "{{.VENV_FOLDER_NAME}}\\\\Scripts\\\\python -m pytest"
l-run-tests:
platforms:
- linux
desc: run tests all tests with pytest (on windows plataform)
cmds:
- echo "Not implemented"
w-pc:
platforms:
- windows
desc: runs pre-commit (on windows plataform)
cmds:
- '{{.VENV_FOLDER_NAME}}\\\\Scripts\\\\pre-commit run --all-files'
l-pc:
platforms:
- linux
desc: runs pre-commit (on windows plataform)
cmds:
- echo "Not implemented"
w-run-football-co-to-dv:
platforms:
- windows
desc: runs football-co to data vault (on windows plataform)
cmds:
- '{{.VENV_FOLDER_NAME}}\\\\Scripts\\\\python -m src.data_vault.football_co.to_dv'
l-run-football-co-to-dv:
platforms:
- linux
desc: runs football-co to data vault (on windows plataform)
cmds:
- echo "Not implemented"