Commit Graph

375 Commits

Author SHA1 Message Date
Michael Droettboom ac970e7448
Merge pull request #95 from rth/pytest-package
Package pytest
2018-09-05 08:02:04 -04:00
Michael Droettboom d43c6dcb43
Merge pull request #134 from thatneat/patch-1
`square` -> `cube` to avoid aliasing
2018-09-04 09:24:47 -04:00
Roman Yurchak c9bc2f4473 Remove os.dup2 calls altogether 2018-09-03 14:20:31 +02:00
Roman Yurchak 86497e9818 Remove prints used for debugging 2018-09-03 10:29:36 +02:00
Roman Yurchak 4404274eef Package nose 2018-09-03 10:29:36 +02:00
Roman Yurchak 4dd93ca99a Testing pytest 2018-09-03 10:29:36 +02:00
Roman Yurchak 56597e2d5a Use NamedTemporaryFile in pytest 2018-09-03 10:29:36 +02:00
Roman Yurchak 5761705326 Remove six 2018-09-03 10:29:36 +02:00
Roman Yurchak c512d8237d Package setuptools 2018-09-03 10:29:36 +02:00
Roman Yurchak 42bdef2306 Package pytest dependencies 2018-09-03 10:29:36 +02:00
Roman Yurchak 58f73c3d79 Package pytest 2018-09-03 10:29:36 +02:00
thatneat 8c83cfa7f8
`square` -> `cube` to avoid aliasing
This makes for a clearer & more convincing demo since `square` was already defined on the Python side.
2018-09-01 07:09:54 -07:00
Michael Droettboom 79c97f8d51
Merge pull request #125 from rth/load_package_custom_url
Fix: Loading packages from custom URLs (part 1)
2018-08-29 11:05:13 -04:00
Roman Yurchak 2aa98eb6c5 Document loading packages from custom URLs 2018-08-29 15:03:45 +03:00
Roman Yurchak 11fcaf8da6 Throw error on invalid packages 2018-08-29 11:22:43 +03:00
Roman Yurchak c9d5ba3c8e Better logs when PyodideInited() or PackageLoaded() fails on Chrome 2018-08-28 18:24:48 +03:00
Roman Yurchak f35aa2eede More review comments 2018-08-28 17:59:13 +03:00
Roman Yurchak 5030eae5b7 Re-use built-in web server 2018-08-28 17:59:13 +03:00
Roman Yurchak ff45a550a6 Flake8 and store artefacts in CircleCI 2018-08-28 17:59:13 +03:00
Roman Yurchak 99772a9ac8 Case insensitive packages / URLs 2018-08-28 17:59:13 +03:00
Roman Yurchak 068906bbf7 Unit tests for loading packages from user defined URLs 2018-08-28 17:59:13 +03:00
Roman Yurchak b2156caa94 Loading packages from custom URLs 2018-08-28 17:58:56 +03:00
Roman Yurchak 2eeb42ebf1 Detect repeated loading of the same package from multiple URI 2018-08-28 17:58:56 +03:00
Roman Yurchak 4f665e0a3a Validate package URI 2018-08-28 17:58:56 +03:00
Roman Yurchak f50275335d Checking valid package name / url 2018-08-28 17:58:56 +03:00
Michael Droettboom b9f3eec925
Merge pull request #131 from rth/improve-testing-setup
Generate test resources with make all
2018-08-28 10:26:58 -04:00
Roman Yurchak bfd0e58631 Address review comments 2018-08-28 16:20:35 +03:00
Roman Yurchak 46c2aa9bf7 Fix clang-format linting 2018-08-28 15:30:11 +03:00
Roman Yurchak 153c6324b9 Copy test data in a pytest fixture 2018-08-28 14:42:14 +03:00
Michael Droettboom 5c3b2eaae9
Merge pull request #130 from rth/fix-build
MNT Fix clang-format linting in Circle CI
2018-08-27 14:33:54 -04:00
Roman Yurchak f15e13d3cd Use clang-format from emcc/clang 2018-08-27 20:20:23 +03:00
Michael Droettboom 94c0ab349f
Merge pull request #116 from rth/parallel-circleci-tests
Running chrome and firefox tests in parallel Circle CI builds
2018-08-24 12:27:03 -04:00
Roman Yurchak ff6f7e3616 Better CircleCI workspace usage 2018-08-24 18:20:36 +03:00
Roman Yurchak 96f26596b3 Better Circle CI workflow 2018-08-24 14:40:51 +03:00
Michael Droettboom b2ea0ed40a
Merge pull request #127 from mdboom/use-results-of-install
Install to a directory, and use that, instead of just the build/lib...
2018-08-23 16:10:17 -04:00
Michael Droettboom 30e82a2d86 Add patch 2018-08-23 12:06:14 -04:00
Michael Droettboom b66d698414 Install to a directory, and use that, instead of just the build/lib... 2018-08-23 11:59:33 -04:00
Michael Droettboom 56ef3a0960
Merge pull request #123 from mdboom/no-full-paths
Don't include full paths in build products
2018-08-22 13:54:52 -04:00
Michael Droettboom 9736ef1d8f
Merge pull request #117 from rth/mark-known-failures
Mark crashing tests as known failures
2018-08-22 13:53:49 -04:00
Roman Yurchak 0b752777a2 Don't use pytest-rerunfailures 2018-08-22 12:43:07 +03:00
Roman Yurchak e2a723de5f Don't run xfail tests 2018-08-22 12:42:22 +03:00
Michael Droettboom 3c8bcae56b Don't include full paths in sysconfigdata 2018-08-21 11:29:36 -04:00
Michael Droettboom c8527c5e5e Don't include full paths in package metadata 2018-08-21 11:29:14 -04:00
Michael Droettboom ae15fa88c0
Merge pull request #120 from mdboom/numpy-use-local-blas-and-lapack
Fix #115: Forcibly use the local copy of blas and lapack
2018-08-21 09:39:45 -04:00
Roman Yurchak 396ca9cfcc Fix typo and more passing tests 2018-08-21 11:09:34 +03:00
Roman Yurchak 02b61eea62 Use selenium.browser in test_run_core_python_test 2018-08-21 11:09:34 +03:00
Roman Yurchak f0b9cf1c51 Run CPython tests that used to crash and now pass 2018-08-21 11:09:34 +03:00
Roman Yurchak 16ff5aaeef Add browser attribute in selenium fixture 2018-08-21 11:09:34 +03:00
Roman Yurchak 7553ab4bfe Mark pandas as XFAIL on chrome 2018-08-21 11:08:47 +03:00
Roman Yurchak 02905d8ca5 Show pytest report for skipped tests, XFAIL, XPASS 2018-08-21 11:08:47 +03:00