Skip to content

fix package discovery #29

fix package discovery

fix package discovery #29

on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.10"]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package directly from the current repository
run: |
pip install git+https://github.com/${{ github.repository }}@${{ github.event.ref }}
- name: Run post-installation test
run: |
python -c "from hed.models.hed_string import HedString; print('Import test passed.')"