Added more improvements about i18n support and updated Spanish transl… #52
Workflow file for this run
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
| name: Test the pas.plugins.ldap code | |
| on: | |
| push | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python: | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| plone: | |
| - "6.0.14" | |
| - "6.1.2" | |
| exclude: | |
| - python: "3.13" | |
| plone: "6.0.14" | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install system packages | |
| run: | | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| sudo apt-get update -y | |
| sudo apt-get install -y build-essential libsasl2-dev libssl-dev libdb-dev libldap2-dev | |
| - name: Setup Plone ${{ matrix.plone }} with Python ${{ matrix.python }} | |
| id: setup | |
| uses: plone/setup-plone@v3.0.0 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| plone-version: ${{ matrix.plone }} | |
| - name: Install package | |
| run: | | |
| sed -i "s#\(-c https://dist.plone.org/release/\)[^/]\+\(/constraints.txt\)#\1${{ matrix.plone }}\2#" requirements.txt | |
| make PRIMARY_PYTHON=${{ matrix.python }} install | |
| - name: Run tests | |
| run: | | |
| make PRIMARY_PYTHON=${{ matrix.python }} test |