Skip to content

Test metadata roundtrips into Python #1

Test metadata roundtrips into Python

Test metadata roundtrips into Python #1

Workflow file for this run

on:
push:
branches: [main, dev]
pull_request:
name: Python data round trips
jobs:
test-metadata:
strategy:

Check failure on line 10 in .github/workflows/python.yml

View workflow run for this annotation

GitHub Actions / Python data round trips

Invalid workflow file

The workflow is not valid. .github/workflows/python.yml (Line: 10, Col: 5): Required property is missing: runs-on
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: setup Python and run tests
run: |
uv venv -p 3.12
source .venv/bin/actvate
uv pip install -r python/requirements_locked_3_13.txt
python -m pytest python