-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allowing to pass in a vocab in Categorify (#935)
Allow to pass in vocabs in Categorify to fix make_feature_column_workflow
- Loading branch information
1 parent
0c80385
commit df8b4db
Showing
7 changed files
with
176 additions
and
121 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
name: CPU CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: [3.8] | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Ubuntu packages | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install -y protobuf-compiler | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
python -m pip install -r requirements.txt pybind11 | ||
python -m pip install -r requirements-dev.txt | ||
- name: Lint with flake8 | ||
run: | | ||
flake8 . | ||
- name: Lint with black | ||
run: | | ||
black --check . | ||
- name: Lint with isort | ||
run: | | ||
isort -c . | ||
- name: Build | ||
run: | | ||
python setup.py develop | ||
- name: Run unittests | ||
run: | | ||
python -m pytest -svv tests/unit/test_cpu_workflow.py | ||
name: CPU CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: [3.8] | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Ubuntu packages | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install -y protobuf-compiler | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
python -m pip install -r requirements.txt pybind11 | ||
python -m pip install -r requirements-dev.txt | ||
- name: Lint with flake8 | ||
run: | | ||
flake8 . | ||
- name: Lint with black | ||
run: | | ||
black --check . | ||
- name: Lint with isort | ||
run: | | ||
isort -c . | ||
- name: Build | ||
run: | | ||
python setup.py develop | ||
- name: Run unittests | ||
run: | | ||
python -m pytest -svv tests/unit/test_cpu_workflow.py |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,3 +71,5 @@ ipython_config.py | |
.dmypy.json | ||
dmypy.json | ||
|
||
# PyCharm | ||
.idea |
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
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
Oops, something went wrong.