name: Tests

on: [push]

env:
  LC_ALL: C.UTF-8
  LANG: C.UTF-8
  AWS_DEFAULT_REGION: us-west-1
  AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
  AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
  GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

jobs:
  CI:
    runs-on: ubuntu-20.04
    strategy:
      max-parallel: 8
      matrix:
        python-version: [3.5, 3.6, 3.7, 3.8]
    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
      run: |
        pip install --quiet coverage flake8 wheel pandoc httpie mypy
        make install
        echo 'import coverage; coverage.process_startup()' > sitecustomize.py
    - name: Lint
      if: ${{matrix.python-version == '3.8'}}
      run: make lint
    - name: Test
      run: |
        export COVERAGE_PROCESS_START=$(pwd)/.coveragerc
        make test
    - name: Upload coverage data
      if: ${{matrix.python-version == '3.8'}}
      run: |
        coverage combine
        bash <(curl -s https://codecov.io/bash)

name: Tests

on: [push]

env:
  LC_ALL: C.UTF-8
  LANG: C.UTF-8
  AWS_DEFAULT_REGION: us-west-1
  AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
  AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
  GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

jobs:
  CI:
    runs-on: ubuntu-20.04
    strategy:
      max-parallel: 8
      matrix:
        python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
    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
      run: |
        pip install --quiet coverage flake8 wheel pandoc httpie mypy
        make install
        echo 'import coverage; coverage.process_startup()' > sitecustomize.py
    - name: Lint
      if: ${{matrix.python-version == '3.8'}}
      run: make lint
    - name: Test
      run: |
        export COVERAGE_PROCESS_START=$(pwd)/.coveragerc
        make test
    - name: Upload coverage data
      if: ${{matrix.python-version == '3.8'}}
      run: |
        coverage combine
        bash <(curl -s https://codecov.io/bash)

Add Python 3.9 to test matrix
Add Python 3.9 to test matrix
