7272 run : python -m pip install --no-deps .
7373 - name : Set Git config
7474 run : |
75- git config --global --add user.name "Renku @ SDSC "
75+ git config --global --add user.name "Renku Bot "
7676 git config --global --add user.email "[email protected] " 7777 - name : Test style
7878 env :
@@ -111,14 +111,49 @@ jobs:
111111 run : python -m pip install --no-deps .
112112 - name : Set Git config
113113 run : |
114- git config --global --add user.name "Renku @ SDSC "
114+ git config --global --add user.name "Renku Bot "
115115 git config --global --add user.email "[email protected] " 116116 - name : Test docs
117117 env :
118118 POETRY_VIRTUALENVS_CREATE : false
119119 SIDEBAR : 1
120120 run : ./run-tests.sh -d
121121
122+ mypy :
123+ runs-on : ubuntu-latest
124+ steps :
125+ - uses : actions/checkout@v2
126+ - run : git fetch --depth=1 origin +refs/tags/*:refs/tags/*
127+ - name : Set up Python 3.8
128+ uses : actions/setup-python@v1
129+ with :
130+ python-version : " 3.8"
131+ - uses : actions/cache@master
132+ id : dependency-cache
133+ with :
134+ path : |
135+ ${{ env.pythonLocation }}
136+ renku/templates
137+ key : ${{env.DEPENDENCY_CACHE_PREFIX}}-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-${{hashFiles('poetry.lock')}}-${{hashFiles('Makefile')}}
138+ - name : Install dependencies
139+ if : steps.dependency-cache.outputs.cache-hit != 'true' || 'refs/heads/master' == github.ref || 'refs/heads/develop' == github.ref || startsWith(github.ref, 'refs/tags/')
140+ run : |
141+ python -m pip install --upgrade pip
142+ python -m pip install coveralls poetry wheel twine
143+ make download-templates
144+ python -m pip install .[all]
145+ - name : Install renku into cache
146+ if : steps.dependency-cache.outputs.cache-hit == 'true'
147+ run : python -m pip install --no-deps .
148+ - name : Set Git config
149+ run : |
150+ git config --global --add user.name "Renku Bot"
151+ git config --global --add user.email "[email protected] " 152+ - name : Test mypy
153+ env :
154+ POETRY_VIRTUALENVS_CREATE : false
155+ run : mypy
156+
122157 cheatsheet :
123158 runs-on : ubuntu-latest
124159 if : " 'refs/heads/master' != github.ref && 'refs/heads/develop' != github.ref && !startsWith(github.ref, 'refs/tags/')"
@@ -153,7 +188,7 @@ jobs:
153188 run : python -m pip install --no-deps .
154189 - name : Set Git config
155190 run : |
156- git config --global --add user.name "Renku @ SDSC "
191+ git config --global --add user.name "Renku Bot "
157192 git config --global --add user.email "[email protected] " 158193 - name : Build cheatsheet
159194 run : |
@@ -254,7 +289,7 @@ jobs:
254289 run : python -m pip install --no-deps .
255290 - name : Set Git config
256291 run : |
257- git config --global --add user.name "Renku @ SDSC "
292+ git config --global --add user.name "Renku Bot "
258293 git config --global --add user.email "[email protected] " 259294 - name : Test with pytest
260295 env :
@@ -309,7 +344,7 @@ jobs:
309344 run : python -m pip install --no-deps .
310345 - name : Set Git config
311346 run : |
312- git config --global --add user.name "Renku @ SDSC "
347+ git config --global --add user.name "Renku Bot "
313348 git config --global --add user.email "[email protected] " 314349 - name : Test with pytest
315350 env :
@@ -351,9 +386,6 @@ jobs:
351386 run : |
352387 sudo apt-get update -y
353388 sudo apt-get install -y libyaml-0-2 libyaml-dev
354- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu jammy main restricted multiverse universe"
355- sudo apt-get update -y
356- sudo apt-get install -y --allow-downgrades -t jammy git-lfs=3.0.2-1
357389 - uses : actions/cache@master
358390 id : dependency-cache
359391 with :
@@ -373,7 +405,7 @@ jobs:
373405 run : python -m pip install --no-deps .
374406 - name : Set Git config
375407 run : |
376- git config --global --add user.name "Renku @ SDSC "
408+ git config --global --add user.name "Renku Bot "
377409 git config --global --add user.email "[email protected] " 378410 - name : Test with pytest
379411 env :
@@ -434,7 +466,7 @@ jobs:
434466 run : python -m pip install --no-deps .
435467 - name : Set Git config
436468 run : |
437- git config --global --add user.name "Renku @ SDSC "
469+ git config --global --add user.name "Renku Bot "
438470 git config --global --add user.email "[email protected] " 439471 - name : Test with pytest
440472 env :
@@ -476,7 +508,7 @@ jobs:
476508 python -m pip install wheel
477509 make download-templates
478510 python -m pip install .[all]
479- git config --global --add user.name "Renku @ SDSC "
511+ git config --global --add user.name "Renku Bot "
480512 git config --global --add user.email "[email protected] " 481513 - name : Test with pytest
482514 env :
@@ -511,7 +543,7 @@ jobs:
511543 python -m pip install wheel
512544 make download-templates
513545 python -m pip install .[all]
514- git config --global --add user.name "Renku @ SDSC "
546+ git config --global --add user.name "Renku Bot "
515547 git config --global --add user.email "[email protected] " 516548 - name : Test with pytest
517549 env :
@@ -553,7 +585,7 @@ jobs:
553585 python -m pip install wheel
554586 make download-templates
555587 python -m pip install .[all]
556- git config --global --add user.name "Renku @ SDSC "
588+ git config --global --add user.name "Renku Bot "
557589 git config --global --add user.email "[email protected] " 558590 - name : Test with pytest
559591 env :
@@ -594,7 +626,7 @@ jobs:
594626 python -m pip install wheel
595627 make download-templates
596628 python -m pip install .[all]
597- git config --global --add user.name "Renku @ SDSC "
629+ git config --global --add user.name "Renku Bot "
598630 git config --global --add user.email "[email protected] " 599631 - name : Test with pytest
600632 env :
@@ -642,7 +674,7 @@ jobs:
642674 run : python -m pip install --no-deps .
643675 - name : Set Git config
644676 run : |
645- git config --global --add user.name "Renku @ SDSC "
677+ git config --global --add user.name "Renku Bot "
646678 git config --global --add user.email "[email protected] " 647679 - uses : actions/cache@master
648680 id : network-cache
@@ -718,7 +750,7 @@ jobs:
718750 run : python -m pip install --no-deps .
719751 - name : Set Git config
720752 run : |
721- git config --global --add user.name "Renku @ SDSC "
753+ git config --global --add user.name "Renku Bot "
722754 git config --global --add user.email "[email protected] " 723755 - uses : actions/cache@master
724756 id : network-cache
@@ -782,7 +814,7 @@ jobs:
782814 python -m pip install wheel
783815 make download-templates
784816 python -m pip install .[all]
785- git config --global --add user.name "Renku @ SDSC "
817+ git config --global --add user.name "Renku Bot "
786818 git config --global --add user.email "[email protected] " 787819 - name : Test with pytest
788820 env :
@@ -824,7 +856,7 @@ jobs:
824856 python -m pip install --upgrade pip
825857 python -m pip install poetry poetry-dynamic-versioning poetry-lock-package twine
826858 python -m pip install .[all]
827- git config --global --add user.name "Renku @ SDSC "
859+ git config --global --add user.name "Renku Bot "
828860 git config --global --add user.email "[email protected] " 829861 - name : Tag if necessary
830862 if : " !startsWith(github.ref, 'refs/tags/')"
@@ -851,6 +883,10 @@ jobs:
851883 with :
852884 fetch-depth : 0
853885 ref : ' develop'
886+ - name : Set Git config
887+ run : |
888+ git config --global --add user.name "Renku Bot"
889+ git config --global --add user.email "[email protected] " 854890 - name : merge changes from master
855891 run : |
856892 git merge origin/master --message "Merge branch 'master' into develop"
@@ -905,7 +941,7 @@ jobs:
905941 echo "GIT_USER=Renku Bot" >> $GITHUB_ENV
906942 echo "[email protected] " >> $GITHUB_ENV 907943 - name : Push chart and images
908- uses :
SwissDataScienceCenter/renku-actions/[email protected] .0 944+ uses :
SwissDataScienceCenter/renku-actions/[email protected] .1 909945 env :
910946 CHART_NAME : renku-core
911947 GITHUB_TOKEN : ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
@@ -914,7 +950,7 @@ jobs:
914950 - name : Wait for chart to be available
915951 run : sleep 120
916952 - name : Update component version
917- uses :
SwissDataScienceCenter/renku-actions/[email protected] .0 953+ uses :
SwissDataScienceCenter/renku-actions/[email protected] .1 918954 env :
919955 CHART_NAME : renku-core
920956 GITHUB_TOKEN : ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
0 commit comments