Skip to content

Commit d13ad67

Browse files
committed
Update ci settings
1 parent 13a770f commit d13ad67

File tree

1 file changed

+43
-7
lines changed

1 file changed

+43
-7
lines changed

.github/workflows/python-pytest.yml

Lines changed: 43 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,55 @@ on:
1010
branches: [ master ]
1111

1212
jobs:
13-
build:
13+
default:
14+
runs-on: ubuntu-20.04
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
python-version: [3.8, 3.9, ]
19+
tf-version: [2.3.1, 2.4.2, 2.5.3, 2.6.4, 2.7.4, 2.8.4, 2.9.3]
20+
include:
21+
- tf-version: 2.6.4
22+
python-version: 3.10
23+
- tf-version: 2.6.4
24+
python-version: 3.9
25+
26+
steps:
27+
- uses: actions/checkout@v2
28+
- name: Set up Python ${{ matrix.python-version }}
29+
uses: actions/setup-python@v2
30+
with:
31+
python-version: ${{ matrix.python-version }}
32+
- name: System informations
33+
run: |
34+
uname -a
35+
free -g
36+
pwd
37+
- name: Install dependencies
38+
run: |
39+
python --version
40+
python -m pip install --upgrade pip
41+
pip install tensorflow==${{ matrix.tf-version }}
42+
pip install git+https://github.com/DataCanvasIO/Hypernets
43+
pip install -r requirements.txt "protobuf<4.0"
44+
pip install pytest-cov==2.4.0 python-coveralls codacy-coverage
45+
pip list
46+
- name: Test with pytest
47+
run: |
48+
pytest --cov=deeptables --durations=30 -k "not dask and not batch_trainer"
1449
50+
py36_37:
1551
runs-on: ubuntu-20.04
1652
strategy:
1753
fail-fast: false
1854
matrix:
19-
python-version: [3.7, 3.8, 3.6]
55+
python-version: [3.7, 3.6]
2056
tf-version: [2.1.0, 2.2.0, 2.3.1, 2.4.2]
21-
exclude:
22-
- tf-version: 2.1.0
23-
python-version: 3.8
24-
- tf-version: 2.2.0
25-
python-version: 3.8
57+
# exclude:
58+
# - tf-version: 2.1.0
59+
# python-version: 3.8
60+
# - tf-version: 2.2.0
61+
# python-version: 3.8
2662

2763
steps:
2864
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)