name: Test pip

on: [push]
#   schedule:
#   - cron: "0 1 * * 0"
  
  

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [2.7, 3.5, 3.6, 3.7, 3.8]

    steps:
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install cxroots from pip
      run: |
        pip install cxroots
    - name: Test that we can import cxroots
      run: |
        python3 -c "import cxroots"

name: Test pip

on: [push]
#   schedule:
#   - cron: "0 1 * * 0"
  
  

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [2.7, 3.5, 3.6, 3.7, 3.8]

    steps:
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install cxroots from pip
      run: |
        pip install cxroots
    - name: Test that we can import cxroots
      run: |
        python -c "import cxroots"

Use 'python' instead of 'python3'
Use 'python' instead of 'python3'