name: Tests
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 'pypy-2.7', 'pypy-3.6']
    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}
    - name: run tests
      run: |
        pip install -U pip
        pip install --upgrade coveralls asttokens pytest setuptools setuptools_scm pep517 .[tests]
        coverage run --source cheap_repr -m pytest
        coverage report -m
    - name: Coveralls Python
      uses: AndreMiras/coveralls-python-action@v20201129
      with:
        parallel: true
        flag-name: test-${{ matrix.python-version }}
  coveralls_finish:
    needs: build
    runs-on: ubuntu-latest
    steps:
      - name: Coveralls Finished
        uses: AndreMiras/coveralls-python-action@v20201129
        with:
          parallel-finished: true

name: Tests
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 'pypy-2.7', 'pypy-3.6']
    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}
    - name: run tests
      run: |
        pip install -U pip
        pip install --upgrade coveralls asttokens pytest setuptools setuptools_scm pep517
        pip install .[tests]
        coverage run --source cheap_repr -m pytest
        coverage report -m
    - name: Coveralls Python
      uses: AndreMiras/coveralls-python-action@v20201129
      with:
        parallel: true
        flag-name: test-${{ matrix.python-version }}
  coveralls_finish:
    needs: build
    runs-on: ubuntu-latest
    steps:
      - name: Coveralls Finished
        uses: AndreMiras/coveralls-python-action@v20201129
        with:
          parallel-finished: true

Install build stuff before self
Install build stuff before self
