Skip to content

Commit

Permalink
ci skip py36 py37
Browse files Browse the repository at this point in the history
  • Loading branch information
oaksharks committed Nov 15, 2024
1 parent 8f79332 commit d4360fd
Showing 1 changed file with 41 additions and 43 deletions.
84 changes: 41 additions & 43 deletions .github/workflows/python-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,15 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, ]
tf-version: [2.5.3, 2.6.4, 2.7.4, 2.8.4, 2.9.3]
python-version: [3.9, 3.10]
tf-version: ["2.6.4", "2.7.4", "2.8.4", "2.9.3"]
include:
- python-version: "3.10"
tf-version: "2.10"
- python-version: "3.10"
tf-version: "2.11"
- python-version: 3.8
tf-version: 2.3.1
- python-version: 3.8
tf-version: 2.4.2
- python-version: "3.10"
tf-version: "2.17"

steps:
- uses: actions/checkout@v2
Expand All @@ -53,40 +51,40 @@ jobs:
- name: Test with pytest
run: |
pytest --cov=deeptables --durations=30 -k "not dask and not batch_trainer"
py36_37:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.6]
tf-version: [2.1.0, 2.2.0, 2.3.1, 2.4.2]
# exclude:
# - tf-version: 2.1.0
# python-version: 3.8
# - tf-version: 2.2.0
# python-version: 3.8

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: System informations
run: |
uname -a
free -g
pwd
- name: Install dependencies
run: |
python --version
python -m pip install --upgrade pip
pip install tensorflow==${{ matrix.tf-version }}
pip install git+https://github.com/DataCanvasIO/Hypernets
pip install -r requirements.txt "protobuf<4.0" "numpy==1.19.5" "featuretools<=0.27" "h5py==2.10.0"
pip install pytest-cov==2.4.0 python-coveralls codacy-coverage
pip list
- name: Test with pytest
run: |
pytest --cov=deeptables --durations=30 -k "not dask and not batch_trainer"
#
# py36_37:
# runs-on: ubuntu-20.04
# strategy:
# fail-fast: false
# matrix:
# python-version: [3.7, 3.6]
# tf-version: [2.1.0, 2.2.0, 2.3.1, 2.4.2]
## exclude:
## - tf-version: 2.1.0
## python-version: 3.8
## - tf-version: 2.2.0
## python-version: 3.8
#
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v2
# with:
# python-version: ${{ matrix.python-version }}
# - name: System informations
# run: |
# uname -a
# free -g
# pwd
# - name: Install dependencies
# run: |
# python --version
# python -m pip install --upgrade pip
# pip install tensorflow==${{ matrix.tf-version }}
# pip install git+https://github.com/DataCanvasIO/Hypernets
# pip install -r requirements.txt "protobuf<4.0" "numpy==1.19.5" "featuretools<=0.27" "h5py==2.10.0"
# pip install pytest-cov==2.4.0 python-coveralls codacy-coverage
# pip list
# - name: Test with pytest
# run: |
# pytest --cov=deeptables --durations=30 -k "not dask and not batch_trainer"

0 comments on commit d4360fd

Please sign in to comment.