Skip to content

added translations for titles of reports #2761 - there might be CRs f… #1810

added translations for titles of reports #2761 - there might be CRs f…

added translations for titles of reports #2761 - there might be CRs f… #1810

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
schedule:
- cron: "0 12 * * 0" # run once a week on Sunday
jobs:
build:
strategy:
matrix:
config:
- ["Py3.8-Plone5.2", "3.8", "5.2"]
- ["Py3.8-Plone6.0", "3.8", "6.0"]
# - ["Py3.11-Plone6.0", "3.11", "6.0"]
runs-on: ubuntu-latest
name: ${{ matrix.config[0] }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.config[1] }}
- name: Install build dependencies
run: |
sudo apt update
sudo apt install -y libxml2-dev libxslt1-dev
- name: Cache
uses: actions/cache@v3
with:
path: |
~/.cache/pip
**/eggs
**/downloads
key: ${{ runner.os }}-cache-${{ hashFiles('setup.*', '*.cfg') }}-${{ matrix.config[0] }}
restore-keys: |
${{ runner.os }}-cache-
- name: Install dependencies
run: |
sudo locale-gen en_US.UTF-8 nl_NL@euro
python -m venv .
ln -s requirements-${{ matrix.config[2] }}.txt requirements.txt
bin/pip install -r requirements.txt
ln -s versions-${{ matrix.config[2] }}.cfg versions.cfg
bin/buildout -c .github.cfg
- name: Pre commit
uses: pre-commit/[email protected]
if: ${{ matrix.config[2] == '5.2' }}
- name: Code Analysis
run: |
bin/code-analysis
if: ${{ matrix.config[2] == '5.2' }}
- name: Test
run: |
bin/coverage run bin/test -s euphorie
bin/coverage report --fail-under=67
env:
zope_i18n_compile_mo_files: 1