Automated Latest Dependency Updates #299
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests - Minimum Dependencies | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
push: | |
branches: | |
- main | |
jobs: | |
py39_unit_tests_minimum_dependencies: | |
name: Tests - 3.9 Minimum Dependencies | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
libraries: ["core"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
- name: Set up python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install woodwork - minimum tests requirements | |
run: | | |
python -m pip install -e . --no-dependencies | |
python -m pip install -r woodwork/tests/requirement_files/minimum_test_requirements.txt | |
- if: ${{ matrix.libraries == 'core' }} | |
name: Install woodwork - minimum core requirements | |
run: | | |
python -m pip install -r woodwork/tests/requirement_files/minimum_core_requirements.txt | |
- if: ${{ matrix.libraries == 'min_min' }} | |
name: Install woodwork with the minimum dependencies of minimum dependencies | |
run: | | |
python -m pip install requirements-parser | |
python -m pip install -r woodwork/tests/requirement_files/minimum_core_requirements.txt | |
python minimum_req.py | |
pip freeze | |
- name: Run unit tests without code coverage | |
run: python -m pytest woodwork/ -n 2 | |
env: | |
PYARROW_IGNORE_TIMEZONE: 1 | |
ALTERYX_OPEN_SRC_UPDATE_CHECKER: False |