-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 1.32 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Test package
on:
workflow_dispatch:
repository_dispatch:
push:
branches:
- gha
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: gha-runners-delib-py2
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
python-version: ["2.7"]
plone-version: ["4.3"]
experimental: [false]
steps:
- name: Needed for local development
if: ${{ env.ACT }}
run: echo /home/runner/externals/node20/bin >> $GITHUB_PATH
shell: bash
- name: Launch soffice
run: soffice '--accept=socket,host=0.0.0.0,port=2002;urp;StarOffice.ServiceManager' --nologo --headless --nofirststartwizard --norestore &
shell: bash
- name: Run tests
uses: IMIO/gha/plone-package-test-notify@main
env:
cache-name: cache-eggs
with:
CACHE_KEY: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.python-version }}
TEST_COMMAND: OO_SERVER=localhost OO_PORT=2002 bin/testmons --layer=\!ROBOT --test=\!\(testSetup\|testPerf\) -s Products.MeetingMons
INSTALL_DEPENDENCIES_COMMANDS: |
sudo pip install -r requirements-tests.txt
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}