Skip to content

30% faster 10% nicer #188

30% faster 10% nicer

30% faster 10% nicer #188

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["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/[email protected]
- 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-leeway-custom:latest
- name: Run tests
run: pytest