Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

Conversation

@borekb
Copy link
Member

@borekb borekb commented Mar 26, 2019

Part of #1389

I wanted to get rid of the very slow copying of files between Docker volumes and the host OS (npm run tests:copy-files-to-host) via Samba as mentioned here: #1389 (comment). However, I couldn't make it work and it seems quite complex, see e.g. this Reddit post.

So this PR is only about small improvements like introducing a new --explore option to run-tests.ts and updating the documentation.

One change in behavior is that npm run tests:cleanup now keep volumes. This has the advantage that npm run tests -- --explore can be run again when necessary; volumes are cleaned up when tests start. See d58676d.

borekb added 3 commits March 26, 2019 15:08
This is a better way to start the Docker stack for exploring failed tests.
It now only stops and removes but keeps the volumes so that `npm run tests -- --explore` can be run again.

Volumes are deleted automatically when tests start.
@borekb borekb changed the title Small improvements in exploring test stack Exploring the test stack – small updates Mar 26, 2019
@borekb borekb self-assigned this Mar 26, 2019
@borekb borekb added the scope: tests Testing code. For infrastructure (CI, etc.), use "dev-infrastructure". label Mar 26, 2019
@borekb borekb added this to the 4.0 milestone Mar 26, 2019
@borekb borekb merged commit 943ab89 into master Mar 26, 2019
@borekb borekb deleted the 1389-exploring-test-stack branch March 26, 2019 15:01
@borekb borekb changed the title Exploring the test stack – small updates Small updates of exploring the test WP site after tests have run Apr 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

scope: tests Testing code. For infrastructure (CI, etc.), use "dev-infrastructure".

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants