Skip to content

Load test for writing observations into the datastore #22

Load test for writing observations into the datastore

Load test for writing observations into the datastore #22

Workflow file for this run

name: pytest
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_run:
workflows: ["flake8"]
branches: ["main"]
types:
- completed
jobs:
ingest-pyTestCov:
strategy:
matrix:
python-version: ["3.10"] # Add 3.11 back pybind11 bug is fixed
runs-on: ubuntu-latest
steps:
- name: Ubuntu setup
run: sudo apt update && sudo apt install libeccodes-data rapidjson-dev pybind11-dev libssl-dev
- name: Python Setup
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Checkout Source
uses: actions/checkout@v3
- name: Install Dependencies
run: |
pip install --upgrade pip
pip install pytest-timeout
pip install pytest-cov
pip install ./ingest
- name: Run Tests
run: python -m pytest -v --timeout=60 ./ingest