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 script to test prebuilds in various docker images #676

Closed
wants to merge 1 commit into from

Conversation

vweevers
Copy link
Member

@vweevers vweevers commented Oct 4, 2019

To help with #675. They all pass, btw.

@vweevers vweevers added the test Improvements or additions to tests label Oct 4, 2019
@@ -9,7 +9,8 @@
"test": "standard && (nyc -s tape test/*-test.js | faucet) && nyc report",
"test-gc": "npx -n=--expose-gc tape test/{cleanup,iterator-gc,chained-batch-gc}*-test.js",
"test-electron": "electron test/electron.js",
"test-prebuild": "cross-env PREBUILDS_ONLY=1 npm t",
"test-prebuild": "cross-env PREBUILDS_ONLY=1 tape test/*-test.js | faucet",
Copy link
Member Author

Choose a reason for hiding this comment

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

Skipping standard and nyc because standard hits some permission issue, and without these we can use a readonly volume ($(pwd):/app:ro).

@@ -9,7 +9,8 @@
"test": "standard && (nyc -s tape test/*-test.js | faucet) && nyc report",
"test-gc": "npx -n=--expose-gc tape test/{cleanup,iterator-gc,chained-batch-gc}*-test.js",
"test-electron": "electron test/electron.js",
"test-prebuild": "cross-env PREBUILDS_ONLY=1 npm t",
"test-prebuild": "cross-env PREBUILDS_ONLY=1 tape test/*-test.js | faucet",
"test-prebuilds": "cross-env MSYS_NO_PATHCONV=1 bash ./scripts/test-prebuilds",
Copy link
Member Author

Choose a reason for hiding this comment

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

The MSYS_NO_PATHCONV=1 is a workaround for Windows, when using docker machine & git bash.

@vweevers
Copy link
Member Author

vweevers commented Oct 4, 2019

Won't use this that often.

@vweevers vweevers closed this Oct 4, 2019
@vweevers vweevers deleted the add-test-prebuilds-script branch October 4, 2019 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Improvements or additions to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant