Skip to content

Add test and review of apache-superset #25

Add test and review of apache-superset

Add test and review of apache-superset #25

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
job_init:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Python setup
uses: actions/setup-python@v4
with:
python-version: '3.12.3'
- name: Dependencies installation
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Docker setup
run: docker compose up -d
- name: Wait for PostgreSQL to be ready
run: |
until docker compose exec pgrouting pg_isready -U postgres; do
echo "Waiting for PostgreSQL to be ready..."
sleep 5
done
- name: Run tests
run: pytest -v