name: build

on:
  push:
    branches:
  pull_request:
    branches:

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.7]

    steps:
      - uses: actions/checkout@v2
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v1
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install Fish
        run: |
          sudo apt-add-repository ppa:fish-shell/release-3
          sudo apt-get update
          sudo apt-get install fish
      - name: Install dependencies
        run: |
          python -m venv venv
          . venv/bin/activate
          pip install -e .[dev]
      - name: Run tests
        run: |
          . venv/bin/activate
          pytest

Automate tests via GitHub Actions CI
Automate tests via GitHub Actions CI
