CICD Integration tests: new shares for pre-existing datasets #2017
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
- 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 |