Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyjux committed Jan 29, 2025
1 parent e7b2643 commit ea4690b
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/aps-cypress-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,24 @@ jobs:
with:
fetch-depth: 0

- name: Verify LCOV File
run: |
echo "Checking if lcov.info exists..."
ls -lah ./e2e/lcov.info || echo "lcov.info is missing!"
cat ./e2e/lcov.info | head -n 5 # Show first 5 lines
- name: Instrument the code for coverage analysis
run: |
# Rewrite the paths as the coverage starts with '../app'!
sed -e 's/..\/app/./g' ./e2e/lcov.info > lcov.info
sed -e 's#../app#.#g' ./e2e/lcov.info > lcov.info
echo "Updated lcov.info:"
cat lcov.info | head -n 5 # Show first 5 lines
#cd src
#npm install --legacy-peer-deps
#npx nyc instrument --compact=false . --in-place
- name: Look at files in github/workspace
run: |
# Rewrite the paths as the coverage starts with '../app'!
ls -lah
cat /github/workspace/lcov.info | head -n 5 # Show first 5 lines
- name: SonarCloud Scan
uses: sonarsource/sonarqube-scan-action@master
Expand All @@ -48,5 +58,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}


0 comments on commit ea4690b

Please sign in to comment.