@@ -53,34 +53,38 @@ jobs:
53
53
# but testall expects it to be on the same partition as where all tests are located (D: drive),
54
54
# hence we just copy it over.
55
55
- name : copy CFEngine to workdir partition
56
- run : ' cp -a "/c/Program Files/Cfengine" /d/a /'
56
+ run : ' cp -a /d/a/core /c /'
57
57
58
58
- name : prune platform independent tests to make the job more efficient
59
59
run : ' Remove-Item -Recurse -Force 00_basics, 01_vars, 02_classes, 10_files, 14_reports, 15_control, 16_cf-serverd, 21_methods, 22_cf-runagent, 26_cf-net, 27_cf-secret, 28_inform_testing'
60
- working-directory : " tests/acceptance"
60
+ working-directory : " /c/core/ tests/acceptance"
61
61
shell : pwsh
62
62
63
- - name : check copied cfengine contents
64
- run : " ls -l /d/a/Cfengine/bin"
65
-
63
+ # - name: check copied cfengine contents
64
+ # run: "ls -l /d/a/Cfengine/bin"
65
+ #
66
66
- name : run the tests
67
- run : ' ./testall --bindir="/d/a/Cfengine/bin" --extraclasses=EXTRA'
68
- working-directory : " tests/acceptance"
67
+ run : ' ./testall --bindir="/d/a/Cfengine/bin" --extraclasses=EXTRA ./05_processes/01_matching/process_count_found.cf '
68
+ working-directory : " /c/core/ tests/acceptance"
69
69
env :
70
70
# env vars for testall script to properly detect environment
71
71
USER : runneradmin
72
72
OSTYPE : msys
73
73
74
74
- name : print test.log
75
75
run : ' cat ./tests/acceptance/test.log || true'
76
+ working-directory : " /c/core"
76
77
if : ${{ always() }}
77
78
78
79
- name : save test.log in artifacts
79
80
run : ' cp ./tests/acceptance/test.log /c/artifacts/test.log || true'
81
+ working-directory : " /c/core"
80
82
if : ${{ always() }}
83
+
81
84
# make a tarball because otherwise there will be too many files and github won't save in the artifact
82
85
- name : save workdir to artifacts
83
86
run : ' tar cfz /c/artifacts/workdir.tar.gz ./tests/acceptance/workdir || true'
87
+ working-directory : " /c/core"
84
88
if : ${{ always() }}
85
89
86
90
0 commit comments