name: Physt

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python: ["3.6", "3.7", "3.8", "3.9", "3.10"]

    steps:
      - uses: actions/checkout@v2

      - name: Setup Python
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python }}

      - name: Install dependencies
        run:  |
          python -m pip install --upgrade pip
          pip install wheel
          pip install -r requirements-dev.txt
          pip install -e .[all]

      - name: Run pytest
        run: pytest

  mypy:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Setup Python
        uses: actions/setup-python@v2
        with:
          python-version: 3.9

      - name: Install dependencies
        run:  |
          python -m pip install --upgrade pip
          pip install wheel
          pip install -r requirements-dev.txt
          pip install -e .[all]
          mypy --install-types

      - name: Run mypy
        run: mypy physt

name: Physt

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python: ["3.6", "3.7", "3.8", "3.9", "3.10"]

    steps:
      - uses: actions/checkout@v2

      - name: Setup Python
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python }}

      - name: Install dependencies
        run:  |
          python -m pip install --upgrade pip
          pip install wheel
          pip install -r requirements-dev.txt
          pip install -e .[all]

      - name: Run pytest
        run: pytest

  mypy:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Setup Python
        uses: actions/setup-python@v2
        with:
          python-version: 3.9

      - name: Install dependencies
        run:  |
          python -m pip install --upgrade pip
          pip install wheel
          pip install -r requirements-dev.txt
          pip install -e .[all]

      - name: Run mypy
        run: mypy --install-types physt

Change mypy config for GH actions
Change mypy config for GH actions
