-
Notifications
You must be signed in to change notification settings - Fork 20
52 lines (52 loc) · 2.06 KB
/
tests_with_minimum_deps.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Tests - Minimum Dependencies
on:
pull_request:
types: [opened, synchronize]
push:
branches:
- main
jobs:
py38_unit_tests_minimum_dependencies:
name: Tests - 3.9 Minimum Dependencies
runs-on: ubuntu-latest
strategy:
matrix:
libraries: ["core", "dask", "spark", "min_min"]
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 == 'spark' }}
name: Install woodwork - minimum spark, core requirements
run: |
python -m pip install -r woodwork/tests/requirement_files/minimum_spark_requirements.txt
- if: ${{ matrix.libraries == 'dask' }}
name: Install woodwork - minimum dask, core requirements
run: |
python -m pip install -r woodwork/tests/requirement_files/minimum_dask_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