name: Test

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-20.04
    strategy:
      matrix:
        python-version: [3.7, 3.8, 3.9]
    name: Python ${{ matrix.python-version }}

    steps:
      - uses: actions/checkout@v2
      - name: Cache pip
        uses: actions/cache@v2.1.5
        with:
          path: ~/.cache/pip
          key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/requirements*.txt') }}
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v2.2.2
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install pip dependencies
        run: |
          python -m pip install --upgrade pip wheel
          pip install -r requirements-test.txt
      - name: Check
        run: ./manage.py check
      - name: Migrate
        run: ./manage.py migrate
      - name: Test
        run: coverage run --source=. ./manage.py test
      - name: Coverage
        run: coverage xml
      - uses: codecov/codecov-action@v1
        with:
          name: Python ${{ matrix.python-version }}, ${{ matrix.os }}

name: Test

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-20.04
    strategy:
      matrix:
        python-version: [3.7, 3.8, 3.9]
    name: Python ${{ matrix.python-version }}

    steps:
      - uses: actions/checkout@v2
      - name: Cache pip
        uses: actions/cache@v2.1.5
        with:
          path: ~/.cache/pip
          key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/requirements*.txt') }}
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v2.2.2
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install pip dependencies
        run: |
          python -m pip install --upgrade pip wheel
          pip install -r requirements-test.txt
      - name: Check
        run: ./manage.py check
      - name: Migrate
        run: ./manage.py migrate
      - name: Test
        run: coverage run --source=. ./manage.py test
      - name: Coverage
        run: coverage xml
      - uses: codecov/codecov-action@v1.5.0
        with:
          name: Python ${{ matrix.python-version }}, ${{ matrix.os }}

Bump codecov/codecov-action from 1 to 1.5.0
Bump codecov/codecov-action from 1 to 1.5.0

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 1.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v1.5.0)

Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com>