|
15 | 15 | from .utils import async_requests |
16 | 16 |
|
17 | 17 |
|
| 18 | +# We have optimized this slow test, for more information, see the README of |
| 19 | +# https://github.com/binderhub-ci-repos/minimal-dockerfile. |
18 | 20 | @pytest.mark.asyncio(timeout=900) |
19 | 21 | @pytest.mark.parametrize("slug", [ |
20 | | - "gh/binderhub-ci-repos/requirements/d687a7f9e6946ab01ef2baa7bd6d5b73c6e904fd", |
21 | | - "git/{}/d687a7f9e6946ab01ef2baa7bd6d5b73c6e904fd".format( |
22 | | - quote("https://github.com/binderhub-ci-repos/requirements", safe='') |
| 22 | + # git/ Git repo provider |
| 23 | + "git/{}/HEAD".format( |
| 24 | + quote("https://github.com/consideratio/cached-minimal-dockerfile", safe='') |
23 | 25 | ), |
24 | | - "git/{}/master".format( |
25 | | - quote("https://github.com/binderhub-ci-repos/requirements", safe='') |
| 26 | + "git/{}/596b52f10efb0c9befc0c4ae850cc5175297d71c".format( |
| 27 | + quote("https://github.com/binderhub-ci-repos/cached-minimal-dockerfile", safe='') |
26 | 28 | ), |
27 | | - "gl/minrk%2Fbinderhub-ci/0d4a217d40660efaa58761d8c6084e7cf5453cca", |
| 29 | + # gh/ GitHub repo provider |
| 30 | + "gh/binderhub-ci-repos/cached-minimal-dockerfile/HEAD", |
| 31 | + "gh/binderhub-ci-repos/cached-minimal-dockerfile/596b52f10efb0c9befc0c4ae850cc5175297d71c", |
| 32 | + # gl/ GitLab repo provider |
| 33 | + "gl/binderhub-ci-repos%2Fcached-minimal-dockerfile/HEAD", |
| 34 | + "gl/binderhub-ci-repos%2Fcached-minimal-dockerfile/596b52f10efb0c9befc0c4ae850cc5175297d71c", |
28 | 35 | ]) |
29 | 36 | @pytest.mark.remote |
30 | 37 | async def test_build(app, needs_build, needs_launch, always_build, slug, pytestconfig): |
| 38 | + """ |
| 39 | + Test build a repo that is very quick and easy to build. |
| 40 | + """ |
31 | 41 | # can't use mark.github_api since only some tests here use GitHub |
32 | 42 | if slug.startswith('gh/') and "not github_api" in pytestconfig.getoption('markexpr'): |
33 | 43 | pytest.skip("Skipping GitHub API test") |
|
0 commit comments