Skip to content

Commit

Permalink
Rename stage, name ubuntu explicate, add new lines per step
Browse files Browse the repository at this point in the history
  • Loading branch information
ckleemann committed Jan 31, 2021
1 parent bb222d0 commit 75138de
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ name: Test
on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
test:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
Expand All @@ -16,6 +15,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Cache pip
uses: actions/cache@v2
with:
Expand All @@ -25,12 +25,14 @@ jobs:
${{ runner.os }}-pip-${{ matrix.python-version }}
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install coveralls
pip install -r requirements.txt
echo "PASSWORD_HASHERS = ['django.contrib.auth.hashers.MD5PasswordHasher',]" >> src/settings.py
- name: Static tests
env:
PYTHONWARNINGS: all
Expand Down

0 comments on commit 75138de

Please sign in to comment.