API: Adding iso datetimes to datalake response #312
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run tests | |
| on: [push, pull_request] | |
| jobs: | |
| test-client: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.8", "3.9", "3.10", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Fetch all history and tags | |
| - name: Build Docker image with Python ${{ matrix.python-version }} | |
| run: | | |
| docker build --build-arg PYTHON_VERSION=${{ matrix.python-version }} \ | |
| --build-arg VERSION=test \ | |
| -t planetlabs/datalake:py${{ matrix.python-version }} . | |
| - name: Run client tests | |
| run: | | |
| docker run --rm planetlabs/datalake:py${{ matrix.python-version }} \ | |
| pytest /opt/client | |
| test-docker: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Fetch all history and tags | |
| - name: Run integration tests | |
| run: | | |
| # Ensure VERSION is set for make | |
| export VERSION=${GITHUB_SHA:-0.0.0-dev} | |
| make test-ingester test-api |