From 6a392ac9544678dd2a600a799c6cec6cbb2ee0ed Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 2 Jan 2023 00:13:19 -0500 Subject: [PATCH] disable python 3.8 in testing --- .github/workflows/django.yml | 10 ++-------- requirements.txt | 4 ++-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index d92a479a..9c47a395 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -23,7 +23,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ['3.8', '3.10'] + python-version: ['3.10'] steps: - uses: actions/checkout@v3 @@ -35,13 +35,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install django-ninja - pip install django-polymorphic - - run: | - sudo apt-get update - sudo apt-get install --yes --no-install-recommends postgresql-client - name: Run Tests run: | - PGPASSWORD=admin123 psql template1 -U postgres -h localhost -c 'create extension hstore;' - new_data_model=1 python manage.py makemigrations contenttypes auth mastodon users books movies games music sync management collection common sync management timeline catalog journal social legacy + new_data_model=1 python manage.py makemigrations contenttypes auth mastodon users common management catalog journal social legacy new_data_model=1 python manage.py test diff --git a/requirements.txt b/requirements.txt index 6ea1ebe5..97809d71 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,8 +9,8 @@ django-simple-history django-hijack django-user-messages django-slack -#django-ninja -#django-polymorphic +django-ninja +django-polymorphic meilisearch easy-thumbnails lxml