Add Python 3.8 and osx
-name: Lightkurve-Tests
+name: Lightkurve-tests
on: [push, pull_request]
@@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: [2.7, 3.7]
+ python-version: [2.7, 3.7, 3.8]
steps:
- uses: actions/checkout@v1
- - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
+ - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
@@ -30,7 +30,7 @@ jobs:
python-version: [3.7]
steps:
- uses: actions/checkout@v1
- - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
+ - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
@@ -42,6 +42,25 @@ jobs:
run: |
pytest --remote-data
+ pytest-osx:
+ runs-on: macos-latest
+ strategy:
+ matrix:
+ python-version: [3.7]
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v1
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip setuptools wheel
+ pip install -e .[all,test]
+ - name: Test with pytest
+ run: |
+ pytest
+
flake8-linter:
runs-on: ubuntu-latest
strategy:
