Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI resources based on Robot-Framework #21

Merged
merged 11 commits into from
Jan 25, 2025
Merged

Add CI resources based on Robot-Framework #21

merged 11 commits into from
Jan 25, 2025

Conversation

psaavedra
Copy link
Member

@psaavedra psaavedra commented Nov 18, 2024

  • Include Docker setup and scripts (Dockerfile, install-requirements.sh, podman-compose.sh, prepare-board.sh).
  • Add initial Robot Framework resources, tests, and test setup files.
  • Integrate scripts for touch events and video performance testing with Robot Framework.
  • Add conf/nginx.conf for NGINX configuration and docker-compose.yml for environment setup.
  • Provide a comprehensive README.md for project setup and usage instructions.

Also:

  • Add .gitattributes configuration for handling large files with Git LFS.
  • Include .github/scripts/ with various sanitizer scripts (run-all-sanatizers, sanatizer-pycodestyle, sanatizer-pyflake8, sanatizer-shellcheck) for automated code quality checks.
  • Add GitHub Actions workflow (sanatizers.yml) to run sanitizers on pull requests.
  • Add .gitignore with entries for backup files, virtual environments, and testing artifacts.

This is an example of use (video): https://people.igalia.com/psaavedra/videos/robot-meta-wpe-image.mp4)

@psaavedra psaavedra requested a review from clopez November 18, 2024 20:45
@psaavedra psaavedra self-assigned this Nov 18, 2024
Copy link

@clopez clopez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty cool, looks quite clean and straight this robot-framework thing to write tests 👍

.ci/prepare-board.sh Outdated Show resolved Hide resolved
.ci/scripts/touch-one-finger-gesture.py Show resolved Hide resolved
.ci/prepare-board.sh Outdated Show resolved Hide resolved
@psaavedra psaavedra force-pushed the add_ci_tests branch 4 times, most recently from 6a17fc9 to cfc8647 Compare December 18, 2024 08:01
@psaavedra psaavedra force-pushed the add_ci_tests branch 2 times, most recently from d8fdf46 to d80e69c Compare January 3, 2025 10:10
@psaavedra psaavedra marked this pull request as draft January 9, 2025 06:56
@Igalia Igalia deleted a comment from github-actions bot Jan 12, 2025
@Igalia Igalia deleted a comment from github-actions bot Jan 12, 2025
Copy link

github-actions bot commented Jan 12, 2025

Failures were detected in the test results in wpe-2_46-raspberrypi3-mesa for core-image-weston-wpe with raspberrypi3-mesa

Copy link

💿️ (ref: cc91d74) wpe-2_46-raspberrypi3-mesa image.

@psaavedra psaavedra force-pushed the add_ci_tests branch 2 times, most recently from 75c2a00 to ed389ea Compare January 12, 2025 20:33
Copy link

💿️ Image for wpe-2_46-raspberrypi3-mesa (ref: 83c89c8).

Copy link

💿️ Image for wpe-2_46-raspberrypi5 (ref: 83c89c8).

Copy link

💿️ Image for wpe-2_46-raspberrypi3-mesa (ref: 09840a7).

Copy link

💿️ Image for wpe-2_46-raspberrypi5 (ref: 09840a7).

Copy link

💿️ Image for wpe-2_46-raspberrypi5 (ref: 5161e35).

Copy link

💿️ Image for wpe-2_46-raspberrypi3-mesa (ref: 5161e35).

@psaavedra psaavedra force-pushed the add_ci_tests branch 4 times, most recently from d86eb15 to 4b2fbdb Compare January 22, 2025 08:56
@psaavedra psaavedra force-pushed the add_ci_tests branch 3 times, most recently from aadbfa5 to 8a80e83 Compare January 22, 2025 12:29
Copy link

💿️ Image for wpe-2_46-raspberrypi5 (ref: 8ad058a).

Copy link

💿️ Image for wpe-2_46-raspberrypi3-mesa (ref: 8ad058a).

Copy link

💿️ Image for wpe-2_46-raspberrypi3-mesa (ref: 8a80e83).

Copy link

💿️ Image for wpe-2_46-raspberrypi5 (ref: 8a80e83).

@psaavedra psaavedra force-pushed the add_ci_tests branch 2 times, most recently from 8aa50d7 to d3d8edf Compare January 22, 2025 16:25
Copy link

💿️ Image for wpe-2_46-raspberrypi3-mesa (ref: d3d8edf).

Copy link

💿️ Image for wpe-2_46-raspberrypi5 (ref: d3d8edf).

Copy link

💿️ Image for wpe-2_46-raspberrypi5 (ref: e6d18d7).

Copy link

💿️ Image for wpe-2_46-raspberrypi3-mesa (ref: e6d18d7).

* Include Docker setup and scripts (`Dockerfile`, `install-requirements.sh`,
  `podman-compose.sh`, `prepare-board.sh`).
* Add initial Robot Framework resources, tests, and test setup files.
* Integrate scripts for touch events and video performance testing with Robot
  Framework.
* Add `conf/nginx.conf` for NGINX configuration and `docker-compose.yml` for
  environment setup.
* Provide a comprehensive `README.md` for project setup and usage instructions.

Also:

* Add `.gitattributes` configuration for handling large files with Git LFS.
* Include `.github/scripts/` with various sanitizer scripts
  (`run-all-sanatizers`, `sanatizer-pycodestyle`, `sanatizer-pyflake8`,
 `sanatizer-shellcheck`) for automated code quality checks.
* Add GitHub Actions workflow (`sanatizers.yml`) to run sanitizers on pull
  requests.
* Add `.gitignore` with entries for backup files, virtual environments, and
  testing artifacts.
* Introduced a `test-raspberrypi-stable` job for testing `raspberrypi`
  devices.
  * Uses  `actions/upload-artifact` and `actions/download-artifact`
    version 4.
  * Ref: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
* Unified Timestamp Management:
  * Standardized the use of a shared timestamp prefix across all jobs.
  * Added steps to generate, upload, and download the timestamp as an
    artifact.
* Fixed workflow structure with `actions/checkout@v3` added where missing.
* Introduced screenshot validation using `Remote Weston Capture Screenshot`
  and `Remote Weston Check Screenshot` keywords.
* Implemented a new test: `Test Check Navigation Bar` to verify navigation
  bar transitions using screenshots.
* Updated dependencies in `keywords_common.robot` to include `DocTest.VisualTest`.
@psaavedra psaavedra marked this pull request as ready for review January 25, 2025 07:18
Copy link

💿️ Image for wpe-2_46-raspberrypi3-mesa (ref: c738f63).

Copy link

💿️ Image for wpe-2_46-raspberrypi5 (ref: c738f63).

@psaavedra psaavedra merged commit 9509655 into main Jan 25, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants