From 1333b0b3c3de690f1b652c3b03d0802b63f8a5e8 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 31 Jul 2021 21:42:37 -0700 Subject: [PATCH] Simplifies env for django tests --- .github/workflows/django-tests.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/django-tests.yml b/.github/workflows/django-tests.yml index c11b7c408..9a801dd75 100644 --- a/.github/workflows/django-tests.yml +++ b/.github/workflows/django-tests.yml @@ -9,18 +9,9 @@ jobs: build: runs-on: ubuntu-20.04 - strategy: - max-parallel: 4 - matrix: - db: [postgres] - python-version: [3.9] - include: - - db: postgres - db_port: 5432 - services: postgres: - image: postgres:12 + image: postgres:13 env: POSTGRES_USER: postgres POSTGRES_PASSWORD: hunter2 @@ -33,20 +24,16 @@ jobs: - 5432:5432 steps: - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v2 with: - python-version: ${{ matrix.python-version }} + python-version: 3.9 - name: Install Dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - name: Run Tests env: - DB: ${{ matrix.db }} - DB_HOST: 127.0.0.1 - DB_PORT: ${{ matrix.db_port }} - DB_PASSWORD: hunter2 SECRET_KEY: beepbeep DEBUG: true DOMAIN: your.domain.here