Skip to content

ci: add test job, dev requirements, pytest.ini and robust test fixes#469

Open
malithwishwa02-dot wants to merge 403 commits intodaijro:mainfrom
malithwishwa02-dot:ci/add-test-job-and-dev-reqs
Open

ci: add test job, dev requirements, pytest.ini and robust test fixes#469
malithwishwa02-dot wants to merge 403 commits intodaijro:mainfrom
malithwishwa02-dot:ci/add-test-job-and-dev-reqs

Conversation

@malithwishwa02-dot
Copy link

Adds CI test job, dev requirements, pytest.ini; hardens tests for CI, adds optional Playwright run with RUN_FULL_TESTS=1. See changes and run results in Actions tab.

daijro and others added 30 commits February 12, 2025 11:01
- Moved environment variable parsing to a dedicated loadConfig() function, called only once during initialization of the global g_jsonConfig.
- Updated GetJson() to return the cached JSON object, preventing repetitive parsing of environment variables on each access.
- Improved performance and simplified configuration data access.

Replace <stdio.h> with <cstdlib> and <cstdio>

- Updated include directives to use modern C++ headers.
- The new headers place standard library functions in the std namespace, enhancing compatibility and type safety as recommended by modern C++ standards.
Build fixes and performance improvements
Optimize configuration loading: cache JSON
I'm deciding to keep Camoufox on FF135 for a bit until I can fully work out the new security changes in FF136 (that may require large-scale refactoring in Juggler).
This workflow automates the build process for the Camoufox project on Windows, including installation of prerequisites, downloading source code, injecting custom code, bootstrapping dependencies, configuring build options, compiling the binary, and packaging the release.
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.

7 participants