Skip to content

Commit 699d0a8

Browse files
back changes, but with runner 22.04
Signed-off-by: Nikita Korolev <[email protected]>
1 parent 68cbeed commit 699d0a8

File tree

2 files changed

+5
-29
lines changed

2 files changed

+5
-29
lines changed

.github/workflows/dev_module_build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ jobs:
204204

205205
- name: Run test hooks
206206
run: |
207-
task task --verbose hooks:test
207+
task hooks:test
208208
209209
- name: Run unit test virtualization-controller
210210
run: |

hooks/Taskfile.yaml

+4-28
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,16 @@ version: "3"
33
tasks:
44
test:
55
cmds:
6-
- task --verbose test:prepare
7-
- task --verbose test:run
6+
- task test:prepare
7+
- task test:run
88
- task test:clean
99

1010
test:prepare:
1111
cmds:
1212
- |
13-
VENV=venv
14-
15-
cat /etc/os-release
16-
17-
# set -x
18-
echo "task prep"
19-
which python3
20-
which pip3
21-
#pip3 install virtualenv
22-
23-
echo "==="
24-
python3 -m venv $VENV
25-
# python3 -m venv venv
26-
27-
echo "--python3 -m venv $VENV--"
28-
ls -la $VENV/
29-
ls -la $VENV/bin/
30-
31-
echo "--source $VENV/bin/activate--"
32-
source $VENV/bin/activate
33-
34-
echo "--ls--"
35-
ls -la ../lib/python/
36-
37-
echo "--pip3 -v install -r ../lib/python/requirements.txt--"
13+
python3 -m venv .venv
14+
source .venv/bin/activate
3815
pip3 -v install -r ../lib/python/requirements.txt
39-
4016
deactivate
4117
4218
test:run:

0 commit comments

Comments
 (0)