@@ -6,7 +6,6 @@ name: Unit Tests
66 push :
77 branches :
88 - master
9- - tonycthsu/*
109 pull_request :
1110 branches :
1211 - master
@@ -146,7 +145,8 @@ jobs:
146145 uses : mxschmitt/action-tmate@e5c7151931ca95bad1c6f4190c730ecf8c7dde48
147146 with :
148147 limit-access-to-actor : true
149- - uses : actions/upload-artifact@v4
148+ - if : always()
149+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
150150 with :
151151 name : junit-ruby-34-${{ matrix.batch }}-${{ github.run_id }}
152152 path : tmp/rspec/*.xml
@@ -280,7 +280,8 @@ jobs:
280280 uses : mxschmitt/action-tmate@e5c7151931ca95bad1c6f4190c730ecf8c7dde48
281281 with :
282282 limit-access-to-actor : true
283- - uses : actions/upload-artifact@v4
283+ - if : always()
284+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
284285 with :
285286 name : junit-ruby-33-${{ matrix.batch }}-${{ github.run_id }}
286287 path : tmp/rspec/*.xml
@@ -414,7 +415,8 @@ jobs:
414415 uses : mxschmitt/action-tmate@e5c7151931ca95bad1c6f4190c730ecf8c7dde48
415416 with :
416417 limit-access-to-actor : true
417- - uses : actions/upload-artifact@v4
418+ - if : always()
419+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
418420 with :
419421 name : junit-ruby-32-${{ matrix.batch }}-${{ github.run_id }}
420422 path : tmp/rspec/*.xml
@@ -548,7 +550,8 @@ jobs:
548550 uses : mxschmitt/action-tmate@e5c7151931ca95bad1c6f4190c730ecf8c7dde48
549551 with :
550552 limit-access-to-actor : true
551- - uses : actions/upload-artifact@v4
553+ - if : always()
554+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
552555 with :
553556 name : junit-ruby-31-${{ matrix.batch }}-${{ github.run_id }}
554557 path : tmp/rspec/*.xml
@@ -682,7 +685,8 @@ jobs:
682685 uses : mxschmitt/action-tmate@e5c7151931ca95bad1c6f4190c730ecf8c7dde48
683686 with :
684687 limit-access-to-actor : true
685- - uses : actions/upload-artifact@v4
688+ - if : always()
689+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
686690 with :
687691 name : junit-ruby-30-${{ matrix.batch }}-${{ github.run_id }}
688692 path : tmp/rspec/*.xml
@@ -816,7 +820,8 @@ jobs:
816820 uses : mxschmitt/action-tmate@e5c7151931ca95bad1c6f4190c730ecf8c7dde48
817821 with :
818822 limit-access-to-actor : true
819- - uses : actions/upload-artifact@v4
823+ - if : always()
824+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
820825 with :
821826 name : junit-ruby-27-${{ matrix.batch }}-${{ github.run_id }}
822827 path : tmp/rspec/*.xml
@@ -950,7 +955,8 @@ jobs:
950955 uses : mxschmitt/action-tmate@e5c7151931ca95bad1c6f4190c730ecf8c7dde48
951956 with :
952957 limit-access-to-actor : true
953- - uses : actions/upload-artifact@v4
958+ - if : always()
959+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
954960 with :
955961 name : junit-ruby-26-${{ matrix.batch }}-${{ github.run_id }}
956962 path : tmp/rspec/*.xml
@@ -1084,7 +1090,8 @@ jobs:
10841090 uses : mxschmitt/action-tmate@e5c7151931ca95bad1c6f4190c730ecf8c7dde48
10851091 with :
10861092 limit-access-to-actor : true
1087- - uses : actions/upload-artifact@v4
1093+ - if : always()
1094+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
10881095 with :
10891096 name : junit-ruby-25-${{ matrix.batch }}-${{ github.run_id }}
10901097 path : tmp/rspec/*.xml
@@ -1218,7 +1225,8 @@ jobs:
12181225 uses : mxschmitt/action-tmate@e5c7151931ca95bad1c6f4190c730ecf8c7dde48
12191226 with :
12201227 limit-access-to-actor : true
1221- - uses : actions/upload-artifact@v4
1228+ - if : always()
1229+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
12221230 with :
12231231 name : junit-jruby-94-${{ matrix.batch }}-${{ github.run_id }}
12241232 path : tmp/rspec/*.xml
@@ -1352,7 +1360,8 @@ jobs:
13521360 uses : mxschmitt/action-tmate@e5c7151931ca95bad1c6f4190c730ecf8c7dde48
13531361 with :
13541362 limit-access-to-actor : true
1355- - uses : actions/upload-artifact@v4
1363+ - if : always()
1364+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
13561365 with :
13571366 name : junit-jruby-93-${{ matrix.batch }}-${{ github.run_id }}
13581367 path : tmp/rspec/*.xml
@@ -1486,11 +1495,13 @@ jobs:
14861495 uses : mxschmitt/action-tmate@e5c7151931ca95bad1c6f4190c730ecf8c7dde48
14871496 with :
14881497 limit-access-to-actor : true
1489- - uses : actions/upload-artifact@v4
1498+ - if : always()
1499+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
14901500 with :
14911501 name : junit-jruby-92-${{ matrix.batch }}-${{ github.run_id }}
14921502 path : tmp/rspec/*.xml
1493- unit-tests :
1503+ complete :
1504+ name : Complete
14941505 runs-on : ubuntu-24.04
14951506 needs :
14961507 - build-test-ruby-34
@@ -1507,9 +1518,14 @@ jobs:
15071518 steps :
15081519 - run : echo "DONE!"
15091520 upload-junit :
1521+ name : Upload/JUnit reports
1522+ if : " !cancelled()"
15101523 runs-on : ubuntu-24.04
15111524 container :
15121525 image : datadog/ci
1526+ credentials :
1527+ username : " ${{ secrets.DOCKERHUB_USERNAME }}"
1528+ password : " ${{ secrets.DOCKERHUB_TOKEN }}"
15131529 env :
15141530 DD_APP_KEY : " ${{ secrets.DD_APP_KEY }}"
15151531 DD_API_KEY : " ${{ secrets.DD_API_KEY }}"
@@ -1529,10 +1545,10 @@ jobs:
15291545 - build-test-jruby-92
15301546 steps :
15311547 - run : mkdir rspec && datadog-ci version
1532- - uses : actions/download-artifact@v4
1548+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
15331549 with :
15341550 path : rspec
15351551 pattern : junit-*
15361552 merge-multiple : true
1537- - run : sed -i 's/ file="\.\/"/ file="/ g' rspec/*.xml
1553+ - run : sed -i 's; file="./; file="; g' rspec/*.xml
15381554 - run : datadog-ci junit upload --service dd-trace-rb rspec/
0 commit comments