Comments (3)
I think this can be closed off as implemented in humanmade/altis-core#487
from altis-dev-tools.
@Nikschavan yep, that PR you referenced is required to be able to do this and it's definitely something we want to do.
I've also been considering switching to GitHub actions as a way to provide a test image that has local server pre downloaded.
Regarding your list I don't think Cavalcade should be disabled. Can you elaborate on why you did that? It uses the same container as the PHP one but with different settings so I'm not sure there's any time saving there really in terms of the download, maybe some in start up time.
I'd be reluctant to switch off anything more than the following by default:
- Kibana
- Mailhog
- XRay
Some of the others are dependent on the features you have configured eg. if you don't use S3 you don't need Tachyon, if you don't use search or native analytics you don't need elasticsearch.
I think we should look at adding support for CI environment config overrides specifically to help trim down what containers are spun up in CI.
from altis-dev-tools.
Regarding your list I don't think Cavalcade should be disabled. Can you elaborate on why you did that? It uses the same container as the PHP one but with different settings so I'm not sure there's any time saving there really in terms of the download, maybe some in start-up time.
I actually did not check how much time an individual image is saving, I am still testing this and I will report back if I have more info on this.
I had disabled cavalcade as I believe it does not need to execute any jobs that get scheduled during the unit tests as they cannot be tested anyway (do correct me if I am wrong and if I am missing something here)
WordPress' test suite disables WP Cron as well, without a fallback cron method - https://github.com/WordPress/wordpress-develop/blob/master/tests/phpunit/includes/bootstrap.php#L85-L89
So my assumption was that disabling the cron will reduce the setup time as well as it "might" reduce the time/resources spent to execute the cron jobs. This is when I am assuming the cron jobs are indeed being executed when the tests are being run.
I am yet to run any tests on how much improvement disabling each image in the list mentioned above is adding, I will report back when I have some more stats on these.
from altis-dev-tools.
Related Issues (20)
- Module tests that check front end behaviour can fail without a proper theme installed HOT 11
- Update default `dist` for travis.yml to `bionic`
- Add linting for docs added to modules HOT 10
- Create bootstrap command for codespaces HOT 2
- Integration tests erroring with "The site you have requested is not installed" HOT 4
- Error messages get swallowed when running all test suites at once
- Switch Travis config to use `arm64` architecture by default HOT 1
- Standardise the flamegraph / icicle graph usage and appearance HOT 1
- Re-add mention of XHProf to the docs
- Include WordPress action and filter names in Excimer/XHProf sampling data
- Codespaces: `composer server start` produces error message
- Codespaces: S3 Console link is generated with a local url
- Update Codespaces documentation to recommend 4-core Codespace
- Incorrect version of Requests dependency loaded HOT 2
- Documentation linting issues
- Codeception: option to disable cache for functional tests
- `composer server stop` doesn't stop mutagen container
- PHPUnit documentation links return a 404
- Fix Deprecation Notice warning in Altis Dev Tools when using PHP 8.2 HOT 1
- wp-phpunit version on 12.0.6 and above causes unit tests to immediately fail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from altis-dev-tools.