Skip to content

Allow RPC credentials override #5239

Allow RPC credentials override

Allow RPC credentials override #5239

Workflow file for this run

name: sanity
on:
push:
branches: master
pull_request:
permissions: read-all
jobs:
check-docs-source-in-git:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: check-docs-source-in-git
run: |
sudo apt install python3-pydot graphviz
pip install -r requirements/readthedocs.txt
make check-docs-source-in-git
test-for-missing-migrations:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: test-for-missing-migrations
run: |
pip install -r requirements/devel.txt
pushd tcms/ && ./npm-install && popd
export LANG=en-us
make test_for_missing_migrations
test-migrations-rollback:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Create database
run: |
docker-compose -f docker-compose.postgres pull db
docker-compose -f docker-compose.postgres run -d -p 5432:5432 --name kiwi_db db
- name: migrations rollback
run: |
pip install -r requirements/devel.txt
pip install -r requirements/postgres.txt
pushd tcms/ && ./npm-install && popd
export LANG=en-us
# Postgres b/c it has best support for schema altering operations
export DJANGO_SETTINGS_MODULE=tcms.settings.test.postgresql
./tests/migrations-rollback