Skip to content

In-memory execution mode for MEDS-Transforms pipelines #857

In-memory execution mode for MEDS-Transforms pipelines

In-memory execution mode for MEDS-Transforms pipelines #857

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main, "release/*", "dev"]
jobs:
run_tests_ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
fail-fast: false
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Setup package
uses: ./.github/actions/setup
with:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: |
uv run pytest -v --cov=src --cov-report=xml:coverage-main.xml -m "not parallelized"
- name: Install joblib
run: |
uv sync --extra local_parallelism
- name: Run tests with joblib
env:
HYDRA_FULL_ERROR: "1"
run: |
uv run pytest -v --cov=src --cov-report=xml:coverage-parallel.xml -m "parallelized"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage-main.xml,coverage-parallel.xml