Skip to content

Commit

Permalink
- Debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpojer committed Jul 8, 2024
1 parent dc2f865 commit e54b6d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: actions/github-script@v7
with:
script: |
const violationCount = parseInt(process.env.test_1.outputs['violation-count']);
const violationCount = parseInt(`${{ steps.test_1.outputs['violation-count'] }}`);
console.log(`Test 1 violation count: ${violationCount}`);
if (violationCount !== 5) {
core.setFailed("Wrong amount '${violationCount}' of violations detected in 'Test 1'");
Expand All @@ -52,7 +52,7 @@ jobs:
uses: actions/github-script@v7
with:
script: |
const violationCount = parseInt(process.env.test_2.outputs['violation-count']);
const violationCount = parseInt(`${{ steps.test_2.outputs['violation-count'] }}`);
console.log(`Test 2 violation count: ${violationCount}`);
if (violationCount !== 5) {
core.setFailed("Wrong amount '${violationCount}' of violations detected in 'Test 2'");
Expand Down

0 comments on commit e54b6d2

Please sign in to comment.