name: Python package

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest

    strategy:
      max-parallel: 4
      fail-fast: false
      matrix:
        python-version: [2.7, 3.5, 3.6, 3.7]

    steps:
    - uses: actions/checkout@v1
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install .
    - name: Build docs
      run: |
        pip install .[docs]
        make docs
    - name: Test with pytest
      run: |
        pip install .[tests] # coveralls
        # nosetests tests -v --with-coverage --cover-package=python_anticaptcha --processes=8
        nosetests tests -v --processes=8
        # coveralls

name: Python package

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest

    strategy:
      max-parallel: 4
      fail-fast: false
      matrix:
        python-version: [2.7, 3.5, 3.6, 3.7]

    steps:
    - uses: actions/checkout@v1
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip wheel
        pip install .
    - name: Build docs
      run: |
        pip install .[docs]
        make docs
    - name: Test with pytest
      run: |
        pip install .[tests] # coveralls
        # nosetests tests -v --with-coverage --cover-package=python_anticaptcha --processes=8
        nosetests tests -v --processes=8
        # coveralls

Add wheel to fix build on GitHub Actions
Add wheel to fix build on GitHub Actions
