Skip to content

API: Adding iso datetimes to datalake response #303

API: Adding iso datetimes to datalake response

API: Adding iso datetimes to datalake response #303

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
test-client:
runs-on: ubuntu-latest
strategy:
fail-fast: false # Don't cancel all tests if one Python version fails
matrix:
python: ["3.8", "3.9", "3.10", "3.12"]
extras: ["test", "test,queuable,sentry"]
steps:
- name: Check out repository code
uses: actions/checkout@v4 # Updated from v2
- name: Setup Python
uses: actions/setup-python@v5 # Updated from v2.2.2
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
working-directory: ./client
run: |
python -m pip install --upgrade pip
# We wrap matrix.extras in quotes to handle the commas correctly
pip install -e .[${{ matrix.extras }}]
- name: Test
working-directory: ./client
run: |
# If using pytest-xdist, avoid '-n auto' on CI to prevent OOM errors.
# Use '-n 2' for GitHub's standard 2-core runners.
pytest -n 2
test-docker:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Test
run: |
make test-ingester test-api