Skip to content

feat(documents): add citation modal to document detail page #3146

feat(documents): add citation modal to document detail page

feat(documents): add citation modal to document detail page #3146

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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- 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@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '24'
- name: Docker compose up
run: docker compose up -d
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.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@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8
with:
format: cobertura
fail-on-error: false