File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 - os : windows
5454 python : 3.8
5555 runs-on : ${{ matrix.os }}-latest
56- timeout-minutes : 20
56+ timeout-minutes : 35
5757 defaults :
5858 run :
5959 shell : bash
@@ -73,14 +73,16 @@ jobs:
7373 echo "$HOME/bin" >> $GITHUB_PATH
7474 - name : tox
7575 run : |
76- if [[ "${{ matrix.os }}" = ubuntu ]]; then
77- if [[ "${{ matrix.python }}" = "3.8" ]]; then
78- tox -e py38-tf,py38-tf-keras # full
79- else
80- tox # nearly full
81- fi
76+ TIMEOUT=10m
77+ if [[ "${{ matrix.python }}" = "2.7" ]]; then
78+ TIMEOUT=15m
79+ elif [[ "py${{ matrix.python }}-${{ matrix.os }}" = "py3.8-ubuntu" ]]; then
80+ export TOXENV="py38-tf,py38-tf-keras" # full
81+ fi
82+ if [[ "${{ matrix.os }}" != "ubuntu" ]]; then
83+ tox -e py${PYVER/./} # basic
8284 else
83- tox -e py${PYVER/./} # basic
85+ timeout $TIMEOUT tox || timeout $TIMEOUT tox || timeout $TIMEOUT tox
8486 fi
8587 env :
8688 PYVER : ${{ matrix.python }}
8991 COVERALLS_PARALLEL : true
9092 COVERALLS_SERVICE_NAME : github
9193 # coveralls needs explicit token
94+ COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9295 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9396 CODACY_PROJECT_TOKEN : ${{ secrets.CODACY_PROJECT_TOKEN }}
9497 finish :
You can’t perform that action at this time.
0 commit comments