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 e8f4d81 commit d09de90
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
timeout-minutes: 180
strategy:
matrix:
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 ]
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
Expand Down Expand Up @@ -65,7 +65,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 @@ -74,19 +74,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: 180
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 d09de90

Please sign in to comment.