Skip to content

fix(ci): use git-cliff binary instead of broken action #23

fix(ci): use git-cliff binary instead of broken action

fix(ci): use git-cliff binary instead of broken action #23

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
- develop
- 'feature/**'
- 'fix/**'
- 'claude/**'
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
# Test-only credentials. These are intentionally weak, deterministic values
# — never used outside CI and matched by server/tests/conftest.py. They exist
# at the workflow level so any test script (not just pytest) that imports
# server.config still boots without tripping the mandatory-env check.
env:
DATABASE_URL: "sqlite:///:memory:"
JWT_SECRET_KEY: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
SEED_PHRASE_KEY: "c3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3M="
TOTP_MASTER_KEY: "dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHQ="
DEVICE_SECRET: "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
PERMISSIONS_OTP_LIST: ""
jobs:
security-tests:
name: Security tests
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: server/requirements.txt
- name: Install server test dependencies
run: |
python -m pip install --upgrade pip
pip install -r server/requirements.txt pytest
- name: Run security test suite
run: pytest -m security -q
e2e-tests:
name: E2E tests
runs-on: ubuntu-latest
timeout-minutes: 15
needs: security-tests
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: server/requirements.txt
- name: Install server test dependencies
run: |
python -m pip install --upgrade pip
pip install -r server/requirements.txt pytest
- name: Run end-to-end suite
run: pytest -m e2e -q