Skip to content

Commit 1ba9764

Browse files
committed
ci(COD-4237): no longer move the sample repository
1 parent 8c0de50 commit 1ba9764

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/integration-test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,20 @@ jobs:
2424
steps:
2525
- name: Checkout repository
2626
uses: actions/checkout@v3
27-
- name: Set up Java
28-
uses: actions/setup-java@v3
29-
with:
30-
distribution: 'temurin'
31-
java-version: '17'
27+
3228
- name: Move action
3329
run: |
3430
mkdir ../action
3531
mv * ../action
36-
mv ../action/sample-repo/* .
32+
3733
- name: Run action
3834
id: run-action
3935
uses: ./../action
4036
with:
4137
target: push
42-
sources: ${{ github.workspace }}
43-
debug: true
38+
sources: ${{ github.workspace }}/sample-repo
39+
# debug: true
40+
4441
- name: Check run succeeded
4542
env:
4643
RUN_OUTPUT: ${{ steps.run-action.outputs.push-completed }}
@@ -51,14 +48,17 @@ jobs:
5148
echo "::error Test run failed!"
5249
exit 1
5350
fi
51+
5452
- name: Download results
5553
uses: actions/download-artifact@v3
5654
with:
5755
name: results-push
5856
path: artifact
57+
5958
- name: Check results
6059
working-directory: artifact
6160
run: |
61+
cat sca.sarif
6262
export SCA_RESULTS=`jq '.runs | map (.results | length) | add' sca.sarif`
6363
expectedScaResults=5
6464
echo "Got $SCA_RESULTS from SCA"

0 commit comments

Comments
 (0)