Skip to content

Allow pip dependency resolver to optimize #44

Allow pip dependency resolver to optimize

Allow pip dependency resolver to optimize #44

Workflow file for this run

name: CI_TF1
on:
push:
path:
- 'deepctr/*'
- 'tests/*'
pull_request:
path:
- 'deepctr/*'
- 'tests/*'
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 360
strategy:
matrix:
python-version: [ 3.7 ]
tf-version: [ `1.15.0` ]

Check failure on line 21 in .github/workflows/ci2.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci2.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
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@v4
- name: Setup python environment
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
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 pytest-cov python-coveralls
pytest --cov=deepctr --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.4
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.xml
flags: pytest
name: py${{ matrix.python-version }}-tf${{ matrix.tf-version }}