Bump spec_tests/hed-schemas from 5b6b5c3 to c3d84e2
#790
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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.')" |