Skip to content

Commit

Permalink
add test for pip installation
Browse files Browse the repository at this point in the history
  • Loading branch information
bmos committed Jul 11, 2024
1 parent 6ba51f5 commit 0ec73d1
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/test-pip-install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Test Pip Install

on:
pull_request:
paths:
- .github/workflows/test-pip-intall.yml
- requirements*.txt
- setup.py
push:
paths:
- .github/workflows/test-pip-intall.yml
- requirements*.txt
- setup.py

jobs:
test_pip_install:
strategy:
fail-fast: false
matrix:
python-version:
- "3.12"
- "3.11"
- "3.10"
- "3.9"
- "3.8"
limited-dependencies:
- ""
- "TRUE"
os:
- ubuntu-latest
include:
- os: macos-latest
python-version: "3.12"
- os: macos-latest
python-version: "3.12"
limited-dependencies: true
- os: macos-latest
python-version: "3.8"
- os: macos-latest
python-version: "3.8"
limited-dependencies: true
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
env:
PARSONS_LIMITED_DEPENDENCIES: ${{ matrix.limited-dependencies }}
run: |
pip install -U pip
pip install -r requirements.txt
pip install -r requirements-dev.txt

0 comments on commit 0ec73d1

Please sign in to comment.