File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - gha
7
+ workflow_dispatch :
8
+
9
+ jobs :
10
+ tests :
11
+ runs-on : gha-runners-delib-py2
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ include :
16
+ - python-version : " 2.7.18"
17
+ plone-version : " 4.3"
18
+ services :
19
+ libreoffice :
20
+ image : imiobe/libreoffice:7.3
21
+ ports :
22
+ - 2002:2002
23
+ volumes :
24
+ - /tmp:/tmp
25
+ - /var/tmp:/var/tmp
26
+ steps :
27
+ - name : Needed for local development
28
+ if : ${{ env.ACT }}
29
+ run : echo /home/runner/externals/node20/bin >> $GITHUB_PATH
30
+ shell : bash
31
+ - name : Launch soffice
32
+ run : soffice '--accept=socket,host=0.0.0.0,port=2002;urp;StarOffice.ServiceManager' --nologo --headless --nofirststartwizard --norestore &
33
+ shell : bash
34
+ - name : Run tests
35
+ uses : IMIO/gha/plone-package-test-notify@main
36
+ env :
37
+ cache-name : cache-eggs
38
+ with :
39
+ CACHE_KEY : ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.python-version }}
40
+ TEST_COMMAND : OO_SERVER=localhost OO_PORT=2002 bin/test -t \!robot
41
+ INSTALL_DEPENDENCIES_COMMANDS : |
42
+ sudo pip install -r requirements-${{ matrix.plone-version }}.txt
43
+ MATTERMOST_WEBHOOK_URL : ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}
You can’t perform that action at this time.
0 commit comments