name: Test

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.6, 3.7, 3.8]

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install coveralls
        pip install -r requirements.txt
    - name: Test
      env:
        PYTHONWARNINGS: all
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      run: |
        python src/manage.py check
        python src/manage.py test feedback
        coverage run --omit="*/migrations*" --source="." src/manage.py test feedback
        coveralls


name: Test

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.6, 3.7, 3.8]

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install coveralls
        pip install -r requirements.txt
    - name: Test
      env:
        PYTHONWARNINGS: all
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        COVERALLS_SERVICE_NAME: github
      run: |
        python src/manage.py check
        python src/manage.py test feedback
        coverage run --omit="*/migrations*" --source="." src/manage.py test feedback
        coveralls


Fix coveralls integration by explicitly adding the correct service name
Fix coveralls integration by explicitly adding the correct service name

See https://github.com/TheKevJames/coveralls-python/issues/252
