Skip to content

Commit

Permalink
try subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
IanCa committed Feb 5, 2024
1 parent f1835d1 commit caace38
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test_installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,26 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Create work directory
run: |
mkdir workdir
echo "WORKDIR=$(pwd)/workdir" >> $GITHUB_OUTPUT
- name: Create and activate virtual environment
run: |
cd $WORKDIR
python -m venv .venv
source .venv/bin/activate
- name: Install package
run: |
cd $WORKDIR
source .venv/bin/activate
python -m pip install --upgrade pip
pip install .
pip install $GITHUB_WORKSPACE
- name: Run post-installation test
run: |
cd $WORKDIR
source .venv/bin/activate
python -c "from hed.models.hed_string import HedString; print('Import test passed.')"

0 comments on commit caace38

Please sign in to comment.