Skip to content

Commit

Permalink
Tweak installer test
Browse files Browse the repository at this point in the history
  • Loading branch information
IanCa committed Feb 5, 2024
1 parent 8a6223c commit fcf7704
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/test_installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,24 @@ jobs:
python-version: ["3.7", "3.10"]

steps:
- uses: actions/checkout@v4
- 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

- name: Create and activate virtual environment
run: |
python -m venv .venv
source .venv/bin/activate
- name: Install package
run: |
pip install git+https://github.com/${{ github.repository }}@develop
python -m pip install --upgrade pip
pip install .
- name: Run post-installation test
run: |
source .venv/bin/activate
python -c "from hed.models.hed_string import HedString; print('Import test passed.')"

0 comments on commit fcf7704

Please sign in to comment.