Skip to content

Commit

Permalink
Allow pip dependency resolver to optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Dec 1, 2023
1 parent d09de90 commit 2bea150
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ci2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
timeout-minutes: 360
strategy:
matrix:
python-version: [ 3.6,3.7 ]
python-version: [ 3.6, 3.7 ]
tf-version: [ 1.15.0 ]

exclude:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
tf-version: 2.7.0
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup python environment
uses: actions/setup-python@v4
Expand All @@ -76,19 +76,15 @@ jobs:

- name: Install dependencies
run: |
pip3 install -q tensorflow==${{ matrix.tf-version }}
pip install -q protobuf==3.19.0
pip install -q requests
pip install -q protobuf==3.19.0 requests tensorflow==${{ matrix.tf-version }}
pip install -e .
- name: Test with pytest
timeout-minutes: 360
run: |
pip install -q pytest
pip install -q pytest-cov
pip install -q python-coveralls
pip install -q pytest pytest-cov python-coveralls
pytest --cov=deepctr --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/[email protected].0
uses: codecov/[email protected].4
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.xml
Expand Down

0 comments on commit 2bea150

Please sign in to comment.