-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.02 KB
/
branch-coverage.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
name: Branch Coverage
on:
push:
workflow_dispatch:
jobs:
coverage:
runs-on: gha-runners-delib-py3
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
plone-version: ["6.0"]
steps:
- name: Run check
uses: IMIO/gha/plone-package-test-notify@v3
env:
cache-name: cache-eggs
with:
PYTHON_VERSION: ${{ matrix.python-version }}
CACHE_KEY: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.python-version }}
TEST_COMMAND: coverage run bin/test
REQUIREMENTS_FILE: 'requirements-tests.txt'
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}
BUILDOUT_CONFIG_FILE: 'test-${{ matrix.plone-version }}.cfg'
- name: Report
run: |
coverage report
coverage xml
shell: bash
- name: Publish to Coveralls
run: |
coveralls --service=github
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}