@@ -2,11 +2,7 @@ name: Build and Test
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - master
7
- - main
8
- tags :
9
- - v*
5
+
10
6
pull_request :
11
7
branches :
12
8
- ' **'
@@ -313,12 +309,12 @@ jobs:
313
309
# path: |
314
310
# .coverage
315
311
# coverage.xml
316
- - uses : actions/upload-artifact@v4
317
- with :
318
- include-hidden-files : true
319
- name : junit_linux-fips-3.9-${{ matrix.cloud-provider }}
320
- path : |
321
- junit.*.xml
312
+ # - uses: actions/upload-artifact@v4
313
+ # with:
314
+ # include-hidden-files: true
315
+ # name: junit_linux-fips-3.9-${{ matrix.cloud-provider }}
316
+ # path: |
317
+ # junit.*.xml
322
318
323
319
# test-lambda:
324
320
# name: Test Lambda linux-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
@@ -459,21 +455,21 @@ jobs:
459
455
# dst_dir.mkdir()
460
456
# for src_file in src_dir.glob("*/.coverage"):
461
457
# dst_file = dst_dir / ".coverage.{}".format(src_file.parent.name[9:])
462
- print("{} copy to {}".format(src_file, dst_file))
463
- shutil.copy(str(src_file), str(dst_file))'
464
- - name : Collect all JUnit XML files to one dir
465
- run : |
466
- python -c '
467
- from pathlib import Path
468
- import shutil
458
+ # print("{} copy to {}".format(src_file, dst_file))
459
+ # shutil.copy(str(src_file), str(dst_file))'
460
+ # - name: Collect all JUnit XML files to one dir
461
+ # run: |
462
+ # python -c '
463
+ # from pathlib import Path
464
+ # import shutil
469
465
470
- src_dir = Path("artifacts")
471
- dst_dir = Path(".") / "junit_results"
472
- dst_dir.mkdir()
473
- # Collect all JUnit XML files with different naming patterns
474
- for pattern in ["*/junit.*.xml", "*/junit.py*-lambda-ci-dev.xml"]:
475
- for src_file in src_dir.glob(pattern):
476
- dst_file = dst_dir / src_file.name
466
+ # src_dir = Path("artifacts")
467
+ # dst_dir = Path(".") / "junit_results"
468
+ # dst_dir.mkdir()
469
+ # # Collect all JUnit XML files with different naming patterns
470
+ # for pattern in ["*/junit.*.xml", "*/junit.py*-lambda-ci-dev.xml"]:
471
+ # for src_file in src_dir.glob(pattern):
472
+ # dst_file = dst_dir / src_file.name
477
473
# print("{} copy to {}".format(src_file, dst_file))
478
474
# shutil.copy(str(src_file), str(dst_file))'
479
475
# - name: Combine coverages
@@ -494,9 +490,9 @@ jobs:
494
490
# with:
495
491
# files: .tox/coverage.xml
496
492
# token: ${{ secrets.CODECOV_TOKEN }}
497
- - name : Upload test results to Codecov
498
- if : ${{ !cancelled() }}
499
- uses : codecov/test-results-action@v1
500
- with :
501
- token : ${{ secrets.CODECOV_TOKEN }}
502
- files : junit_results/junit.*.xml
493
+ # - name: Upload test results to Codecov
494
+ # if: ${{ !cancelled() }}
495
+ # uses: codecov/test-results-action@v1
496
+ # with:
497
+ # token: ${{ secrets.CODECOV_TOKEN }}
498
+ # files: junit_results/junit.*.xml
0 commit comments