-
Notifications
You must be signed in to change notification settings - Fork 883
43 lines (43 loc) · 1.36 KB
/
test_without_test_dependencies.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
name: Test without Test Dependencies
on:
pull_request:
types: [opened, synchronize]
push:
branches:
- main
workflow_dispatch:
jobs:
use_featuretools_without_test_dependencies:
name: Test featuretools without Test Dependencies
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Set up python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- 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: Build featuretools and install
run: |
make package
python -m pip install unpacked_sdist/
- name: Run simple featuretools usage
run: |
import featuretools as ft
es = ft.demo.load_mock_customer(return_entityset=True)
ft.dfs(
entityset=es,
target_dataframe_name="customers",
agg_primitives=["count"],
trans_primitives=["month"],
max_depth=1,
)
from featuretools.primitives import IsFreeEmailDomain
is_free_email_domain = IsFreeEmailDomain()
is_free_email_domain(['[email protected]', '[email protected]']).tolist()
shell: python