# Copyright (C) 2021 Sebastian Pipping <sebastian@pipping.org>
# Licensed under the MIT License

name: Run the test suite

on:
- pull_request
- push

jobs:
  run-tests:
    name: Run the test suite
    strategy:
      matrix:
        python-version: [2.7, 3.5, 3.9]  # no explicit need for 3.6, 3.7, 3.8
        runs-on: [macos-latest, ubuntu-latest]
    runs-on: ${{ matrix.runs-on }}
    steps:
    - uses: actions/checkout@v2.3.4
    - uses: actions/setup-python@v2.1.4
      with:
        python-version: ${{ matrix.python-version }}
    - name: Run the test suite
      run: |
        python --version
        pip install nose
        pip install -e .
        python -m nose -v

Make GitHub Actions run the existing tests
Make GitHub Actions run the existing tests
