Skip to content

Commit 38ecab1

Browse files
committed
CI: use ubuntu-20.04, for Python 2.7 and 3.6
Fix #1226 actions/setup-python#543 actions/runner-images#6399
1 parent a5a8533 commit 38ecab1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ jobs:
7474
tests/pycharm-inspect.py
7575
7676
base-tests:
77-
runs-on: ubuntu-latest
77+
# As long as we need Python 2.7 here in the test, we can only use up to Ubuntu 20.
78+
# https://github.com/rwth-i6/returnn/issues/1226
79+
runs-on: ubuntu-20.04
7880
strategy:
7981
fail-fast: false
8082
matrix:
@@ -170,7 +172,9 @@ jobs:
170172
fi
171173
172174
tf-tests:
173-
runs-on: ubuntu-latest
175+
# As long as we want to test Python 2.7 here in the test, we can only use up to Ubuntu 20.
176+
# https://github.com/rwth-i6/returnn/issues/1226
177+
runs-on: ubuntu-20.04
174178
strategy:
175179
fail-fast: false
176180
matrix:

0 commit comments

Comments
 (0)