Bump redmine from 5 to 6 in /tests/redmine #6274
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: 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.11] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
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.11] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
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.11] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
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 |