Skip to content

Commit

Permalink
error on pytest error
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Jul 5, 2022
1 parent e7988d6 commit 8b4a2a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ jobs:
env:
PYODIDE_VERSION: '0.21.0-alpha.2'
PYTHON_VERSION: '3.10.2'
EMSCRIPTEN_VERSION: '3.1.14'
NODE_VERSION: 18
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ docs/_build/
tests/package.json
tests/package-lock.json
tests/node_modules
/.hypothesis/
.hypothesis/
1 change: 1 addition & 0 deletions tests/emscripten_runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ async function main() {
const pytest = pyodide.pyimport('pytest');
FS.chdir("/test_dir");
errcode = pytest.main();
process.exit(errcode);
} catch (e) {
console.error(e);
process.exit(1);
Expand Down

0 comments on commit 8b4a2a7

Please sign in to comment.