-
Notifications
You must be signed in to change notification settings - Fork 10
64 lines (61 loc) · 2.4 KB
/
tests_legacy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Test (Legacy)
on:
schedule:
- cron: "0 18 * * 5"
jobs:
test-legacy:
runs-on: ubuntu-latest
name: Legacy (${{ matrix.tensorflow }}, ${{ matrix.keras }})
strategy:
fail-fast: false
matrix:
# As a general rule, the latest release of Keras is compatible with the latest
# release of TensorFlow as well as the previous release of TensorFlow (in most
# cases, it is actually compatible with several prior TF releases, but that is
# not guaranteed).
#
# -- https://github.com/keras-team/keras/issues/10440#issuecomment-397428200
include:
- python-version: 3.6
tensorflow: "tensorflow<1.15"
keras: "keras==2.3.0"
- python-version: 3.6
tensorflow: "tensorflow<1.14"
keras: "keras==2.2.5"
- python-version: 3.6
tensorflow: "tensorflow<1.13"
keras: "keras==2.2.5"
- python-version: 3.6
tensorflow: "tensorflow<1.12"
keras: "keras==2.2.5"
- python-version: 3.6
# true at some point in the past: tensorflow 1.10 requires numpy <= 1.14.5, which causes problems -> not supported
# https://github.com/tensorflow/tensorflow/blob/v1.10.1/tensorflow/tools/pip_package/setup.py#L54
tensorflow: "tensorflow<1.11"
keras: "keras==2.2.4"
- python-version: 3.6
tensorflow: "tensorflow<1.10"
keras: "keras==2.2.2"
# - python-version: 3.6
# # causes segmentation fault...
# tensorflow: "tensorflow<1.9"
# keras: "keras==2.2.0"
- python-version: 3.6
tensorflow: "tensorflow<1.8"
keras: "keras==2.2.0"
- python-version: 3.6
tensorflow: "tensorflow<1.8"
keras: "keras==2.1.6"
- python-version: 3.6
# lowest supported keras version, last tensorflow release that supports CUDA 8
tensorflow: "tensorflow==1.4.1"
keras: "keras==2.1.2"
steps:
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install --upgrade pip wheel setuptools
- run: pip install "${{ matrix.tensorflow }}" "${{ matrix.keras }}"
- uses: actions/checkout@v2
- run: pip install "csbdeep[test]"
- run: pytest -v --durations=50