Back to development: 2.0.3 #517
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |