-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
23 changed files
with
309 additions
and
218 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,6 +1,6 @@ | ||
name: CI | ||
name: CI_TF2 | ||
|
||
on: | ||
on: | ||
push: | ||
path: | ||
- 'deepctr/*' | ||
|
@@ -9,17 +9,17 @@ on: | |
path: | ||
- 'deepctr/*' | ||
- 'tests/*' | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
timeout-minutes: 180 | ||
strategy: | ||
matrix: | ||
python-version: [3.6,3.7,3.8,3.9,3.10.7] | ||
tf-version: [1.4.0,1.15.0,2.6.0,2.7.0,2.8.0,2.9.0,2.10.0] | ||
python-version: [ 3.6,3.7,3.8, 3.9,3.10.7 ] | ||
tf-version: [ 2.6.0,2.7.0,2.8.0,2.9.0,2.10.0 ] | ||
|
||
exclude: | ||
- python-version: 3.7 | ||
tf-version: 1.4.0 | ||
|
@@ -64,31 +64,31 @@ jobs: | |
- python-version: 3.10.7 | ||
tf-version: 2.7.0 | ||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup python environment | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip3 install -q tensorflow==${{ matrix.tf-version }} | ||
pip install -q protobuf==3.19.0 | ||
pip install -q requests | ||
pip install -e . | ||
- name: Test with pytest | ||
timeout-minutes: 180 | ||
run: | | ||
pip install -q pytest | ||
pip install -q pytest-cov | ||
pip install -q python-coveralls | ||
pytest --cov=deepctr --cov-report=xml | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
file: ./coverage.xml | ||
flags: pytest | ||
name: py${{ matrix.python-version }}-tf${{ matrix.tf-version }} | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup python environment | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip3 install -q tensorflow==${{ matrix.tf-version }} | ||
pip install -q protobuf==3.19.0 | ||
pip install -q requests | ||
pip install -e . | ||
- name: Test with pytest | ||
timeout-minutes: 180 | ||
run: | | ||
pip install -q pytest | ||
pip install -q pytest-cov | ||
pip install -q python-coveralls | ||
pytest --cov=deepctr --cov-report=xml | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
file: ./coverage.xml | ||
flags: pytest | ||
name: py${{ matrix.python-version }}-tf${{ matrix.tf-version }} |
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 |
---|---|---|
@@ -0,0 +1,96 @@ | ||
name: CI_TF1 | ||
|
||
on: | ||
push: | ||
path: | ||
- 'deepctr/*' | ||
- 'tests/*' | ||
pull_request: | ||
path: | ||
- 'deepctr/*' | ||
- 'tests/*' | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
timeout-minutes: 180 | ||
strategy: | ||
matrix: | ||
python-version: [ 3.6,3.7 ] | ||
tf-version: [ 1.15.0 ] | ||
|
||
exclude: | ||
- python-version: 3.7 | ||
tf-version: 1.4.0 | ||
- python-version: 3.7 | ||
tf-version: 1.12.0 | ||
- python-version: 3.7 | ||
tf-version: 1.15.0 | ||
- python-version: 3.8 | ||
tf-version: 1.4.0 | ||
- python-version: 3.8 | ||
tf-version: 1.14.0 | ||
- python-version: 3.8 | ||
tf-version: 1.15.0 | ||
- python-version: 3.6 | ||
tf-version: 2.7.0 | ||
- python-version: 3.6 | ||
tf-version: 2.8.0 | ||
- python-version: 3.6 | ||
tf-version: 2.9.0 | ||
- python-version: 3.6 | ||
tf-version: 2.10.0 | ||
- python-version: 3.9 | ||
tf-version: 1.4.0 | ||
- python-version: 3.9 | ||
tf-version: 1.15.0 | ||
- python-version: 3.9 | ||
tf-version: 2.2.0 | ||
- python-version: 3.9 | ||
tf-version: 2.5.0 | ||
- python-version: 3.9 | ||
tf-version: 2.6.0 | ||
- python-version: 3.9 | ||
tf-version: 2.7.0 | ||
- python-version: 3.10.7 | ||
tf-version: 1.4.0 | ||
- python-version: 3.10.7 | ||
tf-version: 1.15.0 | ||
- python-version: 3.10.7 | ||
tf-version: 2.2.0 | ||
- python-version: 3.10.7 | ||
tf-version: 2.5.0 | ||
- python-version: 3.10.7 | ||
tf-version: 2.6.0 | ||
- python-version: 3.10.7 | ||
tf-version: 2.7.0 | ||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup python environment | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip3 install -q tensorflow==${{ matrix.tf-version }} | ||
pip install -q protobuf==3.19.0 | ||
pip install -q requests | ||
pip install -e . | ||
- name: Test with pytest | ||
timeout-minutes: 180 | ||
run: | | ||
pip install -q pytest | ||
pip install -q pytest-cov | ||
pip install -q python-coveralls | ||
pytest --cov=deepctr --cov-report=xml | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
file: ./coverage.xml | ||
flags: pytest | ||
name: py${{ matrix.python-version }}-tf${{ matrix.tf-version }} |
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,4 +1,4 @@ | ||
from .utils import check_version | ||
|
||
__version__ = '0.9.2' | ||
__version__ = '0.9.3' | ||
check_version(__version__) |
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
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.