Skip to content

Commit c49b4c4

Browse files
committed
Updated workflows and templates
1 parent d6470ab commit c49b4c4

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

.github/workflows/report.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,7 @@ jobs:
2727
path: ./artifacts
2828

2929
- name: Copy Artifacts into Root Folder
30-
working-directory: ./artifacts
31-
run: |
32-
poetry run -- coverage combine --keep coverage-python3.9*/.coverage
33-
# Errors during copying are ignored because they are checked in the next step
34-
cp .coverage ../ || true
35-
cp lint-python3.9/.lint.txt ../ || true
36-
cp lint-python3.9/.lint.json ../ || true
37-
cp security-python3.9/.security.json ../ || true
30+
run: poetry run -- nox -s artifacts:copy -- artifacts
3831

3932
- name: Validate Artifacts
4033
run: poetry run -- nox -s artifacts:validate

exasol/toolbox/templates/github/workflows/report.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,7 @@ jobs:
2727
path: ./artifacts
2828

2929
- name: Copy Artifacts into Root Folder
30-
working-directory: ./artifacts
31-
run: |
32-
poetry run -- coverage combine --keep coverage-python3.9*/.coverage
33-
# Errors during copying are ignored because they are checked in the next step
34-
cp .coverage ../ || true
35-
cp lint-python3.9/.lint.txt ../ || true
36-
cp lint-python3.9/.lint.json ../ || true
37-
cp security-python3.9/.security.json ../ || true
30+
run: poetry run -- nox -s artifacts:copy -- artifacts
3831

3932
- name: Validate Artifacts
4033
run: poetry run -- nox -s artifacts:validate

test/unit/artifacts_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ def test_missing_files(tmp_path, capsys):
4040
),
4141
captured.err,
4242
)
43-
# with capsys.disabled():
44-
# print(captured.err)
4543

4644

4745
@dataclass

0 commit comments

Comments
 (0)