name: unit tests

on:
  push:
    branches: [ master ]
    tags: 
      - '*'
  pull_request:
    branches: [ master ]

jobs: 
  test:
    name: ${{ matrix.os }} py${{ matrix.python-version }}
    runs-on: ${{ matrix.os }} 

    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
        python-version: ['2.7','3.5','3.6','3.7','3.8','3.9','3.10']
      fail-fast: false

    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 setuptools wheel tox 
          python -m pip install '.[test]'
      
      - name: Run tests
        run: pytest
name: unit tests

on:
  push:
    branches: [ master ]
    tags: 
      - '*'
  pull_request:
    branches: [ master ]

jobs: 
  test:
    name: ${{ matrix.os }} py${{ matrix.python-version }}
    runs-on: ${{ matrix.os }} 

    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
        python-version: ['2.7','3.5','3.6','3.7','3.8','3.9','3.10.0-beta.3']
      fail-fast: false

    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 setuptools wheel tox 
          python -m pip install '.[test]'
      
      - name: Run tests
        run: pytest
Use 3.10.0-beta.3 instead of 3.10 because it's not available yet.
Use 3.10.0-beta.3 instead of 3.10 because it's not available yet.
