Skip to content

Bump spec_tests/hed-schemas from 5b6b5c3 to c3d84e2 #790

Bump spec_tests/hed-schemas from 5b6b5c3 to c3d84e2

Bump spec_tests/hed-schemas from 5b6b5c3 to c3d84e2 #790

Workflow file for this run

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
cache-dependency-glob: "**/pyproject.toml"
- name: Create work directory
run: mkdir workdir
- name: Create virtual environment
run: uv venv workdir/.venv --python ${{ matrix.python-version }}
- name: Install package
run: |
source workdir/.venv/bin/activate
uv pip install "$GITHUB_WORKSPACE"
- name: Run post-installation test
run: |
source workdir/.venv/bin/activate
python -c "from hed.models.hed_string import HedString; print('Import test passed.')"