1- name : Continuous Integration
1+ name : CI General
22on :
33 # Run on manual trigger
44 workflow_dispatch :
7373 framework : scikitlearn
7474 scikit-learn : 0.23.2
7575 python : 3.8
76+ - name : scikit-learn 0.24.1 (Python 3.8)
77+ framework : scikitlearn
78+ scikit-learn : 0.24.1
79+ python : 3.8
7680
77- name : Run ${{ matrix.name }} Tests
81+ name : ${{ matrix.name }}
7882 steps :
7983 - name : Checkout Repo
8084 uses : actions/checkout@v2
@@ -126,7 +130,7 @@ jobs:
126130 pip install tensorflow-addons==0.9.1
127131 pip install model-pruning-google-research==0.0.3
128132 pip list
129- - name : Run ${{ matrix.name }} Tests
133+ - name : Run Tests
130134 run : ./run_tests.sh ${{ matrix.framework }}
131135 - name : Upload coverage to Codecov
132136 uses : codecov/codecov-action@v1
@@ -144,19 +148,22 @@ jobs:
144148 run : |
145149 sudo apt-get update
146150 sudo apt-get -y -q install ffmpeg libavcodec-extra
147- pip install tensorflow==2.2.2
148- pip install keras==2.3.1
151+ pip install tensorflow==2.4.1
152+ pip install keras==2.4.3
149153 - name : Install Dependencies
150154 run : |
151155 python -m pip install --upgrade pip setuptools wheel
152156 pip install -q pylint pycodestyle
153157 pip install -q -r requirements.txt
154158 pip list
155159 - name : pycodestyle
156- run : ( pycodestyle --ignore=C0330,C0415,E203,E231,W503 --max-line-length=120 art || exit 0)
160+ run : pycodestyle --ignore=C0330,C0415,E203,E231,W503 --max-line-length=120 art
157161 - name : pylint
158- run : (pylint --disable=C0330,C0415,E203,E1136 -rn art || exit 0)
159- - name : Check Types (mypy)
160- run : (mypy art || exit 0)
161- - name : pytest
162- run : (py.test --flake8 -m flake8 || exit 0)
162+ if : ${{ always() }}
163+ run : pylint --disable=C0330,C0415,E203,E1136,E0401,E1102 -rn art
164+ - name : mypy
165+ if : ${{ always() }}
166+ run : mypy art
167+ - name : pytest-flake8
168+ if : ${{ always() }}
169+ run : pytest --flake8 -v -m flake8
0 commit comments