-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
lib: better log message when ps fails #2229
Closed
Closed
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
e98bb16
doc: drop the --production flag for installing windows-build-tools
DeeDeeG d1176d7
ci: switch to GitHub Actions
codebytere 9bf112b
doc: replace status badges with new Actions badge
rvagg 8ee5d3e
lib: better log message when ps fails
initram 9b9b948
lib: made the log message for ps errors less definate
initram File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# TODO: Line 47, enable pytest --doctest-modules | ||
|
||
name: Tests | ||
on: [push, pull_request] | ||
jobs: | ||
Tests: | ||
strategy: | ||
fail-fast: false | ||
max-parallel: 15 | ||
matrix: | ||
node: [10.x, 12.x, 14.x] | ||
python: [3.6, 3.7, 3.8] | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: Use Python ${{ matrix.python }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
env: | ||
PYTHON_VERSION: ${{ matrix.python }} | ||
- name: Install Dependencies | ||
run: | | ||
npm install --no-progress | ||
pip install flake8 pytest | ||
- name: Set Windows environment | ||
if: matrix.os == 'windows-latest' | ||
run: | ||
echo '::set-env name=GYP_MSVS_VERSION::2015' | ||
echo '::set-env name=GYP_MSVS_OVERRIDE_PATH::C:\\Dummy' | ||
- name: Lint Python | ||
if: matrix.os == 'ubuntu-latest' | ||
run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
- name: Run Python tests | ||
run: | | ||
python -m pytest | ||
# - name: Run doctests with pytest | ||
# run: python -m pytest --doctest-modules | ||
- name: Run Node tests | ||
run: | | ||
npm test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bit too definite, you may not figure out why. Maybe: