Skip to content

Commit 83d9f43

Browse files
nicolasbisurgiMariusWirtz
authored andcommitted
updated artifacts to enable pipeline testing
1 parent fa3e7d5 commit 83d9f43

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/unit_test_pipeline.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,22 @@ jobs:
2626
run: |
2727
code_ref='${{ inputs.code_reference }}'
2828
if [[ "$code_ref" == \#* ]]; then
29-
# Remove the '#' character
3029
pr_number="${code_ref#\#}"
3130
echo "Detected PR number: $pr_number"
3231
echo "ref=refs/pull/$pr_number/merge" >> $GITHUB_OUTPUT
3332
echo "pr_number=$pr_number" >> $GITHUB_OUTPUT
3433
else
3534
echo "Detected branch name: $code_ref"
3635
echo "ref=$code_ref" >> $GITHUB_OUTPUT
37-
fi
3836
3937
- name: Checkout code
40-
uses: actions/checkout@v3
38+
uses: actions/checkout@v5
4139
with:
4240
repository: ${{ github.repository }}
4341
ref: ${{ steps.determine-ref.outputs.ref }}
4442

4543
- name: Set up Python
46-
uses: actions/setup-python@v4
44+
uses: actions/setup-python@v6
4745
with:
4846
python-version: '3.x'
4947

@@ -69,14 +67,14 @@ jobs:
6967

7068
- name: Upload test results
7169
if: always()
72-
uses: actions/upload-artifact@v3
70+
uses: actions/upload-artifact@v4
7371
with:
7472
name: test-results-${{ matrix.environment }}
7573
path: Tests/test-reports/
7674

7775
- name: Post comment to PR
7876
if: ${{ always() && steps.determine-ref.outputs.pr_number }}
79-
uses: actions/github-script@v6
77+
uses: actions/github-script@v7
8078
with:
8179
script: |
8280
github.rest.issues.createComment({

0 commit comments

Comments
 (0)