philips-software / amp-devcontainer

amp-devcontainer is a fully loaded devcontainer useable for, embedded, C++ or Rust development
MIT License
98 stars 4 forks source link

test: add end-to-end tests with Playwright #516

Closed rjaegers closed 2 weeks ago

rjaegers commented 1 month ago

Pull Request

Description of changes

This PR adds an end-to-end test for the cpp devcontainer to try out running (smoke) tests for the full container experience including the extensions and the front-end.

The technical implementation is done by starting a GitHub Codespace with the container that is currently being built by the PR (communicated as a Codespace secret) and running Playwright tests against that Codespace instance.

Changed the interval of Dependabot updates from daily to weekly.

Checklist

github-actions[bot] commented 1 month ago

Compressed layer size comparison

Comparing ghcr.io/philips-software/amp-devcontainer-cpp:latest to ghcr.io/philips-software/amp-devcontainer-cpp@sha256:34b958e4b9ec7737b829bce86fa6ef57223fdefeb325531c4fc272af0d493ff4

OS/Platform Previous Size Current Size Delta
linux/amd64 640.74M 641.13M 395.09K (+0.06%)
linux/arm64 633.10M 633.48M 384.73K (+0.06%)
github-actions[bot] commented 1 month ago

πŸ¦™ MegaLinter status: βœ… SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
βœ… ACTION actionlint 16 0 0.07s
βœ… DOCKERFILE hadolint 2 0 0.33s
βœ… JSON prettier 15 0 0 0.63s
βœ… JSON v8r 14 0 18.49s
βœ… MARKDOWN markdownlint 8 0 0 1.02s
βœ… MARKDOWN markdown-table-formatter 8 0 0 0.24s
βœ… REPOSITORY checkov yes no 16.99s
βœ… REPOSITORY gitleaks yes no 0.22s
βœ… REPOSITORY git_diff yes no 0.01s
βœ… REPOSITORY grype yes no 13.11s
βœ… REPOSITORY secretlint yes no 1.3s
βœ… REPOSITORY trivy yes no 6.02s
βœ… REPOSITORY trivy-sbom yes no 0.9s
βœ… REPOSITORY trufflehog yes no 3.02s
βœ… SPELL lychee 54 0 1.59s
βœ… YAML prettier 21 0 0 1.0s
βœ… YAML v8r 21 0 13.57s
βœ… YAML yamllint 21 0 0.37s

See detailed report in MegaLinter reports

_MegaLinter is graciously provided by OX Security_

github-actions[bot] commented 1 month ago

Compressed layer size comparison

Comparing ghcr.io/philips-software/amp-devcontainer-rust:latest to ghcr.io/philips-software/amp-devcontainer-rust@sha256:ca052e99846ada8aac5c3e77e9753499d6f9b76cb7dbfea87f1375581450da8a

OS/Platform Previous Size Current Size Delta
linux/amd64 432.86M 433.15M 304.42K (+0.07%)
linux/arm64 572.09M 572.36M 278.83K (+0.05%)
github-actions[bot] commented 1 month ago

Test Results

 2 files  Β±0   2 suites  Β±0   50s :stopwatch: -2s 26 tests Β±0  26 :white_check_mark: Β±0  0 :zzz: Β±0  0 :x: Β±0  28 runsβ€Š Β±0  28 :white_check_mark: Β±0  0 :zzz: Β±0  0 :x: Β±0 

Results for commit 825c3201. ± Comparison against base commit 41abe953.

:recycle: This comment has been updated with latest results.

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 2 weeks ago

Pull Request Report (#516)

Static measures

Description Value
Number of added lines 509
Number of deleted lines 5
Number of changed files 16
Number of commits 57
Number of reviews 2
Number of comments (w/o review comments) 5
Number of reviews that contains a comment to resolve 1
Number of reviews that requested a change from the author 0
Number of reviews that approved the Pull Request 1
Get the total number of participants of a Pull Request 6

Time related measures

Description Value
PR lead time (from creation to close of PR) 35.1 Days
Time that was spend on the branch before the PR was created 1.1 Hours
Time that was spend on the branch before the PR was merged 35.2 Days
Time to merge after last review 27.2 Days

Status check related measures

Description Value
Total runtime for last status check run (Workflow for PR) 16.5 Min
Total time spend in last status check run on PR 8 Min
github-actions[bot] commented 2 weeks ago

πŸŽ‰ Hooray! The changes in this pull request went live with the release of v5.1.4 πŸŽ‰