Skip to content

fix(icij-python): fix pydantic-settings dep #378

fix(icij-python): fix pydantic-settings dep

fix(icij-python): fix pydantic-settings dep #378

Workflow file for this run

name: Test for icij-common
on:
push:
branches: ['main']
pull_request:
paths:
- 'icij-common/**.py'
- '.github/workflows/tests-common.yml'
jobs:
test-icij-common:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --verbose"
jupyter: true
src: "icij-common"
version: "~= 24.2.0"
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.6.7"
python-version: "3.10"
enable-cache: true
- name: Setup Python project
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Run tests
run: |
cd icij-common
uv run --dev --all-extras --frozen pytest -vvv --cache-clear --show-capture=all -r A tests
services:
neo4j:
image: neo4j:4.4.17
env:
NEO4J_AUTH: neo4j/theneo4jpassword
NEO4JLABS_PLUGINS: '["apoc"]'
options: >-
--health-cmd "cypher-shell -u neo4j -p theneo4jpassword -d neo4j 'CALL db.ping()'"
--health-interval 2s
--health-timeout 2s
--health-retries 10
--health-start-period 20s
ports:
- 7475:7474
- 7688:7687
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true