Skip to content

Commit

Permalink
Add installer test for 3.7 and 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
IanCa committed Jan 9, 2024
1 parent 6b6ed14 commit adc4bca
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test_installer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
branches: [develop]
pull_request:
branches: [develop]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
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 dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
- name: Install package
run: |
pip install .
- name: Run post-installation test
run: |
python -c "import hed"

0 comments on commit adc4bca

Please sign in to comment.