Skip to content

Commit

Permalink
ci: remove all monaco-editor directories when uploading coverage repo…
Browse files Browse the repository at this point in the history
…rt bundle

Signed-off-by: Mason Hu <mason.hu@canonical.com>
  • Loading branch information
mas-who committed Apr 5, 2024
1 parent 02a886d commit c1113ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ jobs:
zip -r coverage/playwright-report/cobertura-coverage.zip coverage/playwright-report/cobertura-coverage.xml
DOTRUN_CONTAINER_ID=$(docker ps | awk '{print $1}' | tail -n1)
docker stop $DOTRUN_CONTAINER_ID
rm -rf coverage/playwright-report/lxd-ui/ui/monaco-editor/
# Remove all monaco-editor build files, which causes error in upload-artifact due to invalid characters in file naming
find . -type d -name "monaco-editor" -exec rm -r {} +
- name: Upload coverage report
if: always()
Expand Down

0 comments on commit c1113ab

Please sign in to comment.