72
72
run : python -m pip install --no-deps .
73
73
- name : Set Git config
74
74
run : |
75
- git config --global --add user.name "Renku @ SDSC "
75
+ git config --global --add user.name "Renku Bot "
76
76
git config --global --add user.email "[email protected] "
77
77
- name : Test style
78
78
env :
@@ -111,14 +111,49 @@ jobs:
111
111
run : python -m pip install --no-deps .
112
112
- name : Set Git config
113
113
run : |
114
- git config --global --add user.name "Renku @ SDSC "
114
+ git config --global --add user.name "Renku Bot "
115
115
git config --global --add user.email "[email protected] "
116
116
- name : Test docs
117
117
env :
118
118
POETRY_VIRTUALENVS_CREATE : false
119
119
SIDEBAR : 1
120
120
run : ./run-tests.sh -d
121
121
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
+
122
157
cheatsheet :
123
158
runs-on : ubuntu-latest
124
159
if : " 'refs/heads/master' != github.ref && 'refs/heads/develop' != github.ref && !startsWith(github.ref, 'refs/tags/')"
@@ -153,7 +188,7 @@ jobs:
153
188
run : python -m pip install --no-deps .
154
189
- name : Set Git config
155
190
run : |
156
- git config --global --add user.name "Renku @ SDSC "
191
+ git config --global --add user.name "Renku Bot "
157
192
git config --global --add user.email "[email protected] "
158
193
- name : Build cheatsheet
159
194
run : |
@@ -254,7 +289,7 @@ jobs:
254
289
run : python -m pip install --no-deps .
255
290
- name : Set Git config
256
291
run : |
257
- git config --global --add user.name "Renku @ SDSC "
292
+ git config --global --add user.name "Renku Bot "
258
293
git config --global --add user.email "[email protected] "
259
294
- name : Test with pytest
260
295
env :
@@ -309,7 +344,7 @@ jobs:
309
344
run : python -m pip install --no-deps .
310
345
- name : Set Git config
311
346
run : |
312
- git config --global --add user.name "Renku @ SDSC "
347
+ git config --global --add user.name "Renku Bot "
313
348
git config --global --add user.email "[email protected] "
314
349
- name : Test with pytest
315
350
env :
@@ -351,9 +386,6 @@ jobs:
351
386
run : |
352
387
sudo apt-get update -y
353
388
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
357
389
- uses : actions/cache@master
358
390
id : dependency-cache
359
391
with :
@@ -373,7 +405,7 @@ jobs:
373
405
run : python -m pip install --no-deps .
374
406
- name : Set Git config
375
407
run : |
376
- git config --global --add user.name "Renku @ SDSC "
408
+ git config --global --add user.name "Renku Bot "
377
409
git config --global --add user.email "[email protected] "
378
410
- name : Test with pytest
379
411
env :
@@ -434,7 +466,7 @@ jobs:
434
466
run : python -m pip install --no-deps .
435
467
- name : Set Git config
436
468
run : |
437
- git config --global --add user.name "Renku @ SDSC "
469
+ git config --global --add user.name "Renku Bot "
438
470
git config --global --add user.email "[email protected] "
439
471
- name : Test with pytest
440
472
env :
@@ -476,7 +508,7 @@ jobs:
476
508
python -m pip install wheel
477
509
make download-templates
478
510
python -m pip install .[all]
479
- git config --global --add user.name "Renku @ SDSC "
511
+ git config --global --add user.name "Renku Bot "
480
512
git config --global --add user.email "[email protected] "
481
513
- name : Test with pytest
482
514
env :
@@ -511,7 +543,7 @@ jobs:
511
543
python -m pip install wheel
512
544
make download-templates
513
545
python -m pip install .[all]
514
- git config --global --add user.name "Renku @ SDSC "
546
+ git config --global --add user.name "Renku Bot "
515
547
git config --global --add user.email "[email protected] "
516
548
- name : Test with pytest
517
549
env :
@@ -553,7 +585,7 @@ jobs:
553
585
python -m pip install wheel
554
586
make download-templates
555
587
python -m pip install .[all]
556
- git config --global --add user.name "Renku @ SDSC "
588
+ git config --global --add user.name "Renku Bot "
557
589
git config --global --add user.email "[email protected] "
558
590
- name : Test with pytest
559
591
env :
@@ -594,7 +626,7 @@ jobs:
594
626
python -m pip install wheel
595
627
make download-templates
596
628
python -m pip install .[all]
597
- git config --global --add user.name "Renku @ SDSC "
629
+ git config --global --add user.name "Renku Bot "
598
630
git config --global --add user.email "[email protected] "
599
631
- name : Test with pytest
600
632
env :
@@ -642,7 +674,7 @@ jobs:
642
674
run : python -m pip install --no-deps .
643
675
- name : Set Git config
644
676
run : |
645
- git config --global --add user.name "Renku @ SDSC "
677
+ git config --global --add user.name "Renku Bot "
646
678
git config --global --add user.email "[email protected] "
647
679
- uses : actions/cache@master
648
680
id : network-cache
@@ -718,7 +750,7 @@ jobs:
718
750
run : python -m pip install --no-deps .
719
751
- name : Set Git config
720
752
run : |
721
- git config --global --add user.name "Renku @ SDSC "
753
+ git config --global --add user.name "Renku Bot "
722
754
git config --global --add user.email "[email protected] "
723
755
- uses : actions/cache@master
724
756
id : network-cache
@@ -782,7 +814,7 @@ jobs:
782
814
python -m pip install wheel
783
815
make download-templates
784
816
python -m pip install .[all]
785
- git config --global --add user.name "Renku @ SDSC "
817
+ git config --global --add user.name "Renku Bot "
786
818
git config --global --add user.email "[email protected] "
787
819
- name : Test with pytest
788
820
env :
@@ -824,7 +856,7 @@ jobs:
824
856
python -m pip install --upgrade pip
825
857
python -m pip install poetry poetry-dynamic-versioning poetry-lock-package twine
826
858
python -m pip install .[all]
827
- git config --global --add user.name "Renku @ SDSC "
859
+ git config --global --add user.name "Renku Bot "
828
860
git config --global --add user.email "[email protected] "
829
861
- name : Tag if necessary
830
862
if : " !startsWith(github.ref, 'refs/tags/')"
@@ -851,6 +883,10 @@ jobs:
851
883
with :
852
884
fetch-depth : 0
853
885
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] "
854
890
- name : merge changes from master
855
891
run : |
856
892
git merge origin/master --message "Merge branch 'master' into develop"
@@ -905,7 +941,7 @@ jobs:
905
941
echo "GIT_USER=Renku Bot" >> $GITHUB_ENV
906
942
echo "[email protected] " >> $GITHUB_ENV
907
943
- name : Push chart and images
908
- uses :
SwissDataScienceCenter/renku-actions/[email protected] .0
944
+ uses :
SwissDataScienceCenter/renku-actions/[email protected] .1
909
945
env :
910
946
CHART_NAME : renku-core
911
947
GITHUB_TOKEN : ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
@@ -914,7 +950,7 @@ jobs:
914
950
- name : Wait for chart to be available
915
951
run : sleep 120
916
952
- name : Update component version
917
- uses :
SwissDataScienceCenter/renku-actions/[email protected] .0
953
+ uses :
SwissDataScienceCenter/renku-actions/[email protected] .1
918
954
env :
919
955
CHART_NAME : renku-core
920
956
GITHUB_TOKEN : ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
0 commit comments