Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/pip-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Pip-tests

on:
pull_request:
push:
branches: [master]

jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9"]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v2

- name: Setup python
uses: actions/setup-python@v2

- name: Install proj
run: sudo apt-get install libgeos-dev libproj-dev

- name: Python ${{ matrix.python-version }}
run: |
pip install numpy cython
pip install -r requirements.txt -r requirements-dev.txt
pip install -e . --no-deps --force-reinstall

- name: pip-tests
run: |
pytest -rxs --cov=oceans tests