Skip to content

Refine table column design #70

Refine table column design

Refine table column design #70

Workflow file for this run

on:
push:
branches: [main, dev]
pull_request:
name: Python data round trips
jobs:
test-metadata:
name: Test Python metadata round trips
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04]
rust:
- stable
python: [ "3.13" ]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: recursive
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/[email protected]
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v6
with:
activate-environment: true
version: "latest"
python-version: ${{ matrix.python }}
- name: run JSON metadata example
run: |
cargo run --example json_metadata --features derive
- name: run bincode metadata example
run: |
cargo run --example bincode_metadata --features derive
- name: setup Python and run tests
run: |
uv venv -p ${{ matrix.python }}
source .venv/bin/activate
uv pip install -r python/requirements_locked_3_13.txt
uv pip install python/tskit_glue
python -m pytest python