Make i18ndude happy #14
This file contains hidden or 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
| # Generated from: | |
| # https://github.com/plone/meta/tree/2.x/src/plone/meta/default | |
| # See the inline comments on how to expand/tweak this configuration file | |
| name: Tests | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| strategy: | |
| # We want to see all failures: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ["ubuntu", "ubuntu-latest"] | |
| config: | |
| # [Python version, visual name, tox env] | |
| - ["3.14", "6.2 on py3.14", "py314-plone62"] | |
| - ["3.10", "6.2 on py3.10", "py310-plone62"] | |
| - ["3.13", "6.1 on py3.13", "py313-plone61"] | |
| - ["3.10", "6.1 on py3.10", "py310-plone61"] | |
| - ["3.9", "6.0 on py3.9", "py39-plone60"] | |
| - ["3.13", "6.0 on py3.13", "py313-plone60"] | |
| runs-on: ${{ matrix.os[1] }} | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| name: ${{ matrix.config[1] }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Install uv + caching | |
| uses: astral-sh/setup-uv@v8.0.0 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: | | |
| setup.* | |
| tox.ini | |
| pyproject.toml | |
| python-version: ${{ matrix.config[0] }} | |
| - name: install OS packages | |
| run: sudo apt-get install -y xvfb fonts-noto-color-emoji fonts-unifont libfontconfig1 libfreetype6 xfonts-cyrillic xfonts-scalable fonts-liberation fonts-ipafont-gothic fonts-wqy-zenhei fonts-tlwg-loma-otf fonts-freefont-ttf libasound2t64 libatk-bridge2.0-0t64 libatk1.0-0t64 libatspi2.0-0t64 libcairo2 libcups2t64 libdbus-1-3 libdrm2 libgbm1 libglib2.0-0t64 libnspr4 libnss3 libpango-1.0-0 libx11-6 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxkbcommon0 libxrandr2 libavcodec60 libcairo-gobject2 libgdk-pixbuf-2.0-0 libgtk-3-0t64 libpangocairo-1.0-0 libx11-xcb1 libxcb-shm0 libxcursor1 libxi6 libxrender1 gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good libicu74 libatomic1 libenchant-2-2 libepoxy0 libevent-2.1-7t64 libflite1 libgles2 libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgtk-4-1 libharfbuzz-icu0 libharfbuzz0b libhyphen0 libjpeg-turbo8 liblcms2-2 libmanette-0.2-0 libopus0 libpng16-16t64 libsecret-1-0 libvpx9 libwayland-client0 libwayland-egl1 libwayland-server0 libwebp7 libwebpdemux2 libwoff1 libxml2 libxslt1.1 libx264-164 libavif16 | |
| ## | |
| # Add extra configuration options in .meta.toml: | |
| # [github] | |
| # extra_lines_after_os_dependencies = """ | |
| # _your own configuration lines_ | |
| # """ | |
| ## | |
| - name: Initialize tox | |
| # the bash one-liner below does not work on Windows | |
| if: contains(matrix.os, 'ubuntu') | |
| run: | | |
| if [ `uvx tox list --no-desc -f init|wc -l` = 1 ]; then uvx --with tox-uv tox -e init;else true; fi | |
| - name: Test | |
| run: uvx --with tox-uv tox -e ${{ matrix.config[2] }} | |
| ## | |
| # Add extra configuration options in .meta.toml: | |
| # [github] | |
| # extra_lines = """ | |
| # _your own configuration lines_ | |
| # """ | |
| ## |