Skip to content

add resource permission checks #1961

add resource permission checks

add resource permission checks #1961

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@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