1010
1111jobs :
1212 test :
13- runs-on : ubuntu-22 .04
13+ runs-on : ubuntu-24 .04
1414 strategy :
1515 fail-fast : false
1616 matrix :
2121 plone : 5.2
2222 - python : 3.10.11
2323 plone : " 6.0"
24+ - python : 3.12.7
25+ plone : " 6.1"
2426 services :
2527 libreoffice :
2628 image : harbor.imio.be/library/libreoffice:7.3
@@ -31,30 +33,29 @@ jobs:
3133 - /var/tmp:/var/tmp
3234 steps :
3335 - name : Checkout
34- uses : actions/checkout@v3
36+ uses : actions/checkout@v4
3537 - name : Setup Env
3638 run : |
3739 mkdir -p -m 777 /tmp/appy/
3840 sudo add-apt-repository ppa:libreoffice/ppa -y
3941 sudo apt update -qq -y
40- sudo apt-get install -qq -y libreoffice libreoffice-script-provider-python
42+ sudo apt-get install -qq -y libreoffice libreoffice-script-provider-python libjpeg62 libjpeg62-dev libbz2-dev
4143 mkdir -p buildout-cache/{eggs,downloads}
4244 - name : Set up pyenv and Python
43- uses : " gabrielfalcao/pyenv-action@v14 "
45+ uses : " gabrielfalcao/pyenv-action@v18 "
4446 with :
4547 default : " ${{ matrix.python }}"
4648 - name : Setup Python env
4749 run : |
4850 pip install --upgrade pip
4951 pip install -r requirements-${{ matrix.plone }}.txt
5052 - name : Cache eggs
51- uses : actions/cache@v2
53+ uses : actions/cache@v4
5254 env :
5355 cache-name : cache-eggs
5456 with :
5557 path : ~/buildout-cache/eggs
56- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ matrix.plone }}
57- restore-keys : ${{ runner.os }}-test-${{ env.cache-name }}-${{ matrix.plone }}
58+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ matrix.python }}-${{ matrix.plone }}
5859 - name : buildout
5960 run : |
6061 sed -ie "s#test.cfg#test-${{matrix.plone}}.cfg#" gha.cfg
@@ -64,13 +65,13 @@ jobs:
6465 run : |
6566 bin/test -t !robot
6667 coverage :
67- runs-on : ubuntu-22 .04
68+ runs-on : ubuntu-24 .04
6869 strategy :
6970 fail-fast : false
7071 matrix :
7172 include :
72- - python : 3.10.11
73- plone : " 6.0 "
73+ - python : 3.13.1
74+ plone : " 6.1 "
7475 services :
7576 libreoffice :
7677 image : harbor.imio.be/library/libreoffice:7.3
8182 - /var/tmp:/var/tmp
8283 steps :
8384 - name : Checkout
84- uses : actions/checkout@v3
85+ uses : actions/checkout@v4
8586 - name : Setup Env
8687 run : |
8788 mkdir -p -m 777 /tmp/appy/
9091 sudo apt-get install -qq -y libreoffice libreoffice-script-provider-python
9192 mkdir -p buildout-cache/{eggs,downloads}
9293 - name : Set up pyenv and Python
93- uses : " gabrielfalcao/pyenv-action@v14 "
94+ uses : " gabrielfalcao/pyenv-action@v18 "
9495 with :
9596 default : " ${{ matrix.python }}"
9697 - name : Setup Python env
@@ -99,13 +100,12 @@ jobs:
99100 pip install -r requirements-${{ matrix.plone }}.txt
100101 pip install -U coveralls
101102 - name : Cache eggs
102- uses : actions/cache@v2
103+ uses : actions/cache@v4
103104 env :
104105 cache-name : cache-eggs
105106 with :
106107 path : ~/buildout-cache/eggs
107- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ matrix.plone }}
108- restore-keys : ${{ runner.os }}-test-${{ env.cache-name }}-${{ matrix.plone }}
108+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ matrix.python }}-${{ matrix.plone }}
109109 - name : buildout
110110 run : |
111111 sed -ie "s#test.cfg#test-${{matrix.plone}}.cfg#" gha.cfg
0 commit comments