Skip to content

Commit 2b0a3e2

Browse files
chore: temporary add verbose to hook tests
Signed-off-by: Nikita Korolev <[email protected]>
1 parent 1eff462 commit 2b0a3e2

File tree

4 files changed

+34
-7
lines changed

4 files changed

+34
-7
lines changed

.github/workflows/dev_module_build-on-self-hosted-runner.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ jobs:
217217

218218
- name: Run test hooks
219219
run: |
220-
task hooks:test
220+
task --verbose hooks:test
221221
222222
- name: Run unit test virtualization-controller
223223
run: |

.github/workflows/dev_module_build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ on:
3232
type: number
3333
pull_request:
3434
types: [opened, reopened, synchronize, labeled, unlabeled]
35+
branches:
36+
- main
37+
- chore/core/mitigation-cve-3
3538
push:
3639
branches:
3740
- main

hooks/Taskfile.yaml

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

1010
test:prepare:
1111
cmds:
1212
- |
13-
python3 -m venv .venv
14-
source .venv/bin/activate
15-
pip3 install -r ../lib/python/requirements.txt
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--"
38+
pip3 -v install -r ../lib/python/requirements.txt
39+
1640
deactivate
1741
1842
test:run:

lib/python/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cffi==1.16.0
1+
cffi==1.17.0
22
certifi==2024.07.04
33
cryptography==43.0.1
44
DateTime==5.2

0 commit comments

Comments
 (0)