From adc4bca1c917f192206037d74daef79767387de8 Mon Sep 17 00:00:00 2001 From: IanCa Date: Tue, 9 Jan 2024 12:06:31 -0600 Subject: [PATCH] Add installer test for 3.7 and 3.10 --- .github/workflows/test_installer.yaml | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/test_installer.yaml diff --git a/.github/workflows/test_installer.yaml b/.github/workflows/test_installer.yaml new file mode 100644 index 00000000..d9e6dc24 --- /dev/null +++ b/.github/workflows/test_installer.yaml @@ -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" \ No newline at end of file