diff --git a/.github/workflows/test-pip-install.yml b/.github/workflows/test-pip-install.yml new file mode 100644 index 0000000000..bac5e21680 --- /dev/null +++ b/.github/workflows/test-pip-install.yml @@ -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 + \ No newline at end of file