feat(theme): expose available languages in logged_user endpoint #3066
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: CI | |
| on: [push, pull_request, workflow_dispatch] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| TERM: xterm-256color | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| dependencies: ['dev', 'deploy'] | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Install Libraries | |
| run: | | |
| sudo apt-get update -y | |
| sudo apt-get install -y pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl | |
| sudo apt-get install -y libxml2 ghostscript imagemagick xpdf | |
| sudo sed -i 's/<policy domain="coder" rights="none" pattern="PDF" \/>/<policy domain="coder" rights="read" pattern="PDF" \/>/g' /etc/ImageMagick-6/policy.xml | |
| - name: Setup node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: '24' | |
| - name: Docker compose up | |
| run: docker compose up -d | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: uv.lock | |
| - name: Set up Python | |
| run: uv python install 3.14 | |
| - name: Bootstrap | |
| if: ${{ matrix.dependencies == 'dev' }} | |
| run: | | |
| uv run ./scripts/bootstrap --ci | |
| - name: Bootstrap deploy | |
| if: ${{ matrix.dependencies == 'deploy' }} | |
| run: | | |
| uv run ./scripts/bootstrap --ci --deploy | |
| - name: Run Test | |
| run: uv run poe run_tests | |
| - name: Coverage XML | |
| if: ${{ matrix.dependencies == 'dev' }} | |
| run: uv run coverage xml | |
| - name: Coveralls | |
| if: ${{ matrix.dependencies == 'dev' }} | |
| uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # v2.3.7 | |
| with: | |
| format: cobertura | |
| fail-on-error: false |