Skip to content

Commit d13f07f

Browse files
committed
ci: more debugging. Restructured asdf setup approach
1 parent aca2d1e commit d13f07f

File tree

1 file changed

+22
-28
lines changed

1 file changed

+22
-28
lines changed

.github/workflows/ci_testing.yml

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -21,37 +21,17 @@ jobs:
2121
- name: Install asdf cli
2222
uses: asdf-vm/actions/setup@v4
2323

24-
- name: Install Python 3.7.17
25-
run: |
26-
asdf plugin add python
27-
asdf set python 3.7.17
28-
asdf install python 3.7.17
29-
30-
- name: Install java
24+
- name: Setup asdf
3125
run: |
3226
asdf plugin add java
3327
asdf set java liberica-1.8.0
34-
asdf install java liberica-1.8.0
35-
36-
- name: Install poetry
37-
run: |
28+
asdf plugin add python
29+
asdf set python 3.7.17
3830
asdf plugin add poetry
3931
asdf set poetry 1.4.2
40-
asdf install poetry 1.4.2
41-
42-
- name: reshim
43-
run: asdf reshim
44-
45-
- name: DEBUG - show versions
46-
run: |
47-
echo "python version: $(which python)"
48-
echo "java version: $(which java)"
49-
echo "poetry version: $(which poetry)"
50-
51-
- name: DEBUG - cat .tool-versions
52-
run: |
53-
echo "PWD - $PWD"
54-
cat ${PWD}/.tool-versions
32+
asdf install
33+
asdf reshim
34+
5535

5636
# - name: Cache Poetry virtualenv
5737
# uses: actions/cache@v4
@@ -64,9 +44,23 @@ jobs:
6444
- name: Install test dependencies
6545
run: |
6646
make install
47+
48+
- name: DEBUG - show versions
49+
run: |
50+
echo "python version: $(which python)"
51+
echo "java version: $(which java)"
52+
echo "poetry version: $(which poetry)"
53+
54+
- name: DEBUG - cat .tool-versions
55+
run: |
56+
echo "PWD - $PWD"
57+
cat ${PWD}/.tool-versions
58+
59+
- name: DEBUG - check JAVA_HOME
60+
run: echo "JAVA_HOME: $JAVA_HOME"
6761

68-
# - name: Run unit tests
69-
# run: make coverage
62+
- name: Run pytest and behave tests
63+
run: make all-tests
7064

7165
# - name: Upload Coverage Report
7266
# uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)