Bump urllib3 from 2.0.5 to 2.2.2 in /requirements #390
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: "Django Multitenant Tests" | |
on: | |
pull_request: | |
types: [ opened, reopened, synchronize ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
static-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- uses: actions/checkout@v3 | |
- name: Install python dependencies | |
run: | | |
pip install -r requirements/static-analysis-requirements.txt | |
- name: Format Checks | |
run: | | |
make format-check | |
- name: Prospector checks | |
run: | | |
make lint | |
- name: Documentation Checks | |
run: | | |
cd docs | |
sphinx-build -W -b html source builds | |
tests-django-mt-lt-4_1: | |
runs-on: ubuntu-latest | |
name: "Python: ${{matrix.python_version}} | Django: ${{matrix.django_version}} | Citus: ${{matrix.citus_version}}" | |
defaults: | |
run: | |
shell: bash | |
strategy: | |
fail-fast: false | |
matrix: | |
python_version: ["3.8","3.9","3.10","3.11"] | |
django_version: ["3.2","4.0","4.1","4.2"] | |
citus_version: ["10","11","12"] | |
include: | |
- python_version: "3.7" | |
django_version: "3.2" | |
citus_version: "10" | |
- python_version: "3.7" | |
django_version: "3.2" | |
citus_version: "11" | |
- python_version: "3.7" | |
django_version: "3.2" | |
citus_version: "12" | |
exclude: | |
- python_version: "3.8" | |
django_version: "4.1" | |
citus_version: "10" | |
- python_version: "3.9" | |
django_version: "4.1" | |
citus_version: "10" | |
- python_version: "3.10" | |
django_version: "4.1" | |
citus_version: "10" | |
- python_version: "3.11" | |
django_version: "4.1" | |
citus_version: "10" | |
- python_version: "3.8" | |
django_version: "4.2" | |
citus_version: "10" | |
- python_version: "3.9" | |
django_version: "4.2" | |
citus_version: "10" | |
- python_version: "3.10" | |
django_version: "4.2" | |
citus_version: "10" | |
- python_version: "3.11" | |
django_version: "4.2" | |
citus_version: "10" | |
env: | |
PYTHON_VERSION: ${{ matrix.python_version }} | |
CITUS_VERSION: ${{ matrix.citus_version }} | |
DJANGO_VERSION: ${{ matrix.django_version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Test Django MT | |
run: | | |
docker-compose --project-name django-multitenant up -d || { docker-compose logs && false ; } | |
echo "Running tests for python $PYTHON_VERSION, django $DJANGO_VERSION, citus $CITUS_VERSION" | |
docker run \ | |
--entrypoint /build/scripts/test-django-mt.sh \ | |
-v $(pwd):/build \ | |
--network=host \ | |
-e PYTHON_VERSION -e DJANGO_VERSION \ | |
citusdata/python-all-versions | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
- name: Test Missing Modules | |
run: | | |
echo "Running tests for python $PYTHON_VERSION, django $DJANGO_VERSION, citus $CITUS_VERSION" | |
docker run \ | |
--entrypoint /build/scripts/test-django-mt-modules.sh \ | |
-v $(pwd):/build \ | |
--network=host \ | |
-e PYTHON_VERSION -e DJANGO_VERSION \ | |
citusdata/python-all-versions | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
tests-django-mt-4_1: | |
runs-on: ubuntu-latest | |
name: "Python: ${{matrix.python_version}} | Django: ${{matrix.django_version}} | Citus: ${{matrix.citus_version}}" | |
defaults: | |
run: | |
shell: bash | |
strategy: | |
fail-fast: false | |
matrix: | |
python_version: ["3.8","3.9","3.10","3.11"] | |
django_version: ["4.1"] | |
citus_version: ["11"] | |
env: | |
PYTHON_VERSION: ${{ matrix.python_version }} | |
CITUS_VERSION: ${{ matrix.citus_version }} | |
DJANGO_VERSION: ${{ matrix.django_version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Test Django MT | |
run: | | |
docker-compose --project-name django-multitenant up -d || { docker-compose logs && false ; } | |
echo "Running tests for python $PYTHON_VERSION, django $DJANGO_VERSION, citus $CITUS_VERSION" | |
docker run \ | |
--entrypoint /build/scripts/test-django-mt.sh \ | |
-v $(pwd):/build \ | |
--network=host \ | |
-e PYTHON_VERSION -e DJANGO_VERSION \ | |
citusdata/python-all-versions | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
- name: Test Missing Modules | |
run: | | |
echo "Running tests for python $PYTHON_VERSION, django $DJANGO_VERSION, citus $CITUS_VERSION" | |
docker run \ | |
--entrypoint /build/scripts/test-django-mt-modules.sh \ | |
-v $(pwd):/build \ | |
--network=host \ | |
-e PYTHON_VERSION -e DJANGO_VERSION \ | |
citusdata/python-all-versions | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 |