@@ -32,41 +32,32 @@ jobs:
3232 asdf install
3333 asdf reshim
3434
35-
36- # - name: Cache Poetry virtualenv
37- # uses: actions/cache@v4
38- # with:
39- # path: ~/.cache/pypoetry
40- # key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
41- # restore-keys: |
42- # ${{ runner.os }}-poetry-
35+ - name : Cache Poetry virtualenv
36+ uses : actions/cache@v4
37+ with :
38+ path : ~/.cache/pypoetry
39+ key : ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
40+ restore-keys : |
41+ ${{ runner.os }}-poetry-
4342
4443 - name : Install test dependencies
4544 run : |
4645 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
5846
59- - name : Run pytest and behave tests
47+ - name : Run pytest and coverage
6048 run : |
6149 export JAVA_HOME=$(asdf where java)
6250 echo "JAVA_HOME - $JAVA_HOME"
63- make all-tests
51+ make coverage
6452
65- # - name: Upload Coverage Report
66- # uses: actions/upload-artifact@v4
67- # with:
68- # name: coverage-xml
69- # path: coverage.xml
53+ - name : Upload Coverage Report
54+ uses : actions/upload-artifact@v4
55+ with :
56+ name : coverage-xml
57+ path : coverage.xml
7058
71- # - name: Run behave tests
72- # run: make behave
59+ - name : Run behave tests
60+ run : |
61+ export JAVA_HOME=$(asdf where java)
62+ echo "JAVA_HOME - $JAVA_HOME"
63+ make behave
0 commit comments