Skip to content

test requirements

test requirements #23

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
ruff:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_DB: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run PyTest
run: |
pip install pytest
pytest tests/test_mock_db.py --data-path=data/metadata/mini