fast compile
@@ -24,20 +24,24 @@ jobs:
python -m pip install -U -r requirements-test.txt
python -m pip install -e .
- # Rebound doesn't work on windows
- - name: Install optional dependencies
- if: matrix.os == 'ubuntu-latest'
- run: python -m pip install -U rebound
+ - name: Test on Windows
+ if: matrix.os == 'windows-latest'
+ run: |
+ THEANO_FLAGS="mode=FAST_COMPILE" python -m pytest -vs tests/gp
- name: Test without coverage
- if: matrix.os != 'ubuntu-latest' || matrix.python-version != '3.8'
- run: python -m pytest -vs tests/gp
+ if: matrix.os == 'ubuntu-latest' && matrix.python-version != '3.8'
+ run: |
+ python -m pip install -U rebound
+ python -m pytest -vs tests/gp
- name: Test with coverage
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
- run: python -m pytest --cov=exoplanet -vs tests/gp
+ run: |
+ python -m pip install -U rebound
+ python -m pytest --cov=exoplanet -vs tests/gp
- name: Upload coverage
- if: success()
+ if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8' && success()
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: coveralls
