Skip to content

Fix - Local dev environment is broken after recent changes #7

Fix - Local dev environment is broken after recent changes

Fix - Local dev environment is broken after recent changes #7

Workflow file for this run

name: alembic migration tests
on:
workflow_dispatch:
pull_request:
branches:
- main
- release/*
- main-v2
- v2m*
env:
envname: local
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.9 ]
services:
postgres:
image: postgres
env:
POSTGRES_DB: dataall
POSTGRES_PASSWORD: docker
POSTGRES_USER: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Drop tables
run: make drop-tables
- name: Upgrade tables
run: make upgrade-db