Skip to content

Commit

Permalink
ci(COD-4237): no longer move the sample repository
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydubreil committed Jan 28, 2025
1 parent 8c0de50 commit 1ba9764
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,20 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'

- name: Move action
run: |
mkdir ../action
mv * ../action
mv ../action/sample-repo/* .
- name: Run action
id: run-action
uses: ./../action
with:
target: push
sources: ${{ github.workspace }}
debug: true
sources: ${{ github.workspace }}/sample-repo
# debug: true

- name: Check run succeeded
env:
RUN_OUTPUT: ${{ steps.run-action.outputs.push-completed }}
Expand All @@ -51,14 +48,17 @@ jobs:
echo "::error Test run failed!"
exit 1
fi
- name: Download results
uses: actions/download-artifact@v3
with:
name: results-push
path: artifact

- name: Check results
working-directory: artifact
run: |
cat sca.sarif
export SCA_RESULTS=`jq '.runs | map (.results | length) | add' sca.sarif`
expectedScaResults=5
echo "Got $SCA_RESULTS from SCA"
Expand Down

0 comments on commit 1ba9764

Please sign in to comment.