Skip to content

Adjust documentation & example image #140

Adjust documentation & example image

Adjust documentation & example image #140

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python-version }}
- name: Start Redis
uses: supercharge/redis-github-action@1.4.0
- name: Install dependencies
run: pip install -e .[dev]
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build custom container with OWSLib
uses: docker/build-push-action@v5
with:
file: opendrift/Dockerfile
push: false
tags: opendrift-owslib:latest
- name: Run tests
run: pytest