pre-commit-ci[bot]
27c2b403db
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-10-31 22:32:14 +00:00
Erik Sundell
15a1fb6e2d
refactor: manually add transitions to f-strings
2022-10-31 21:22:32 +01:00
pre-commit-ci[bot]
5a93542321
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-10-31 21:22:32 +01:00
Min RK
757799516d
ensure some cache files are cleaned up
2022-10-31 15:23:35 +01:00
Min RK
bd02e2e997
run check-tmp as root
...
- avoids permission errors
- lets us check /root/ where we've left files in the past
2022-10-31 15:22:56 +01:00
Min RK
2da784ca21
check-tmp needs to run on Python 3.5
2022-10-31 15:22:55 +01:00
Min RK
38f5aceb45
Add check-tmp step to local repo tests
...
- check-tmp checks disk usage in a collection of directories,
and fails if they exceed a certain size, reporting on contents
- re-use images and skip build stage in verify/check-tmp tests.
Should save some time,
even though the build cache would have been used.
This way, we don't even check.
2022-10-31 15:22:52 +01:00
Nicholas Bollweg
23e195f363
add path check in conda/repo-dir, more docs in conftest.py
2022-10-31 13:09:17 +01:00
Erik Sundell
b3234b54f0
Refactor to f-strings to comply with pyupgrade
2022-10-31 12:57:23 +01:00
Min RK
b314ba90cd
test new port argument possibilities
2022-10-31 12:57:23 +01:00
Min RK
e9ad8fdb41
run submodule test over https
...
avoids assertion with file-based submodules
2022-10-24 14:30:08 +02:00
Erik Sundell
1e4bc50a77
refactor readme files: in julia tests
2022-10-16 11:04:10 +02:00
Erik Sundell
af076ca7de
refactor readme files: in r tests
2022-10-16 11:03:48 +02:00
Erik Sundell
3ea45d1258
refactor readme files: in conda tests
2022-10-16 11:03:24 +02:00
Erik Sundell
42bb1b384a
ci: adjust to and rename extra-args.yaml to test-extra-args.yaml
...
I misunderstood extra-args.yaml to be a file that was recognized by
repo2docker's CLI, but in reality it was just a file recognized by the
repo2docker test suite. Following that, I renamed this testing specific
file to test-extra-args.yaml to help others avoid making that mistake
and added comments to clarify that.
This commit also gathers the conda buildpacks separate readme files into
a single readme file.
2022-10-15 15:42:35 +02:00
Erik Sundell
a6af244605
ci: refactor julia tests, from 5 to 4 (~5 min saved)
2022-10-10 11:15:56 +02:00
Erik Sundell
f1b1339507
ci: refactor conda tests, from 6 to 5 (~5 min saved)
...
With this commit, we combine testing the default python version
installation into the default R version installation test.
2022-10-10 09:15:17 +02:00
Erik Sundell
f69d65feb9
ci: refactor conda tests, from 11 to 6 (~20 min saved)
2022-10-10 09:15:17 +02:00
Erik Sundell
2c0b14c7da
ci: refactor r tests, from 8 to 5 (~15 min saved)
2022-10-10 09:15:17 +02:00
Erik Sundell
f8d0efe490
ci: delete julia/julialegacy_version-[1|1.1] tests (~10 min saved)
2022-10-10 09:15:17 +02:00
Erik Sundell
5ffbe65bec
ci: delete conda/channel-dep test of a mamba 0.6+ feature (~5 min saved)
2022-10-10 09:15:17 +02:00
Erik Sundell
87dd7e1283
ci: delete conda/r4.0 test, where r3.6 and r4.2 remains (~5 min saved)
2022-10-10 09:15:17 +02:00
Erik Sundell
b18adce53f
ci: test conda/py310 instead of conda/py38
2022-10-10 09:15:17 +02:00
Erik Sundell
3034a09a91
ci: test conda/r4.2 instead of conda/r4.1
2022-10-10 09:15:17 +02:00
Erik Sundell
b3de499659
Merge pull request #1165 from yuvipanda/bump
...
Bump default R version to 4.2 from 4.1, and let R 3.4 go from 3.4.0 to 3.4.4
2022-10-09 10:06:36 +02:00
Erik Sundell
fc08ee1c58
Update R 4.2 from 4.2.0 to 4.2.1 and fix tests
2022-10-08 14:06:29 +02:00
Min RK
1841bf7130
fail on unsupported Python
...
rather than warning (which users won't see) and building with the wrong version of Python
2022-09-06 10:22:27 +02:00
YuviPanda
d695b3dcdf
Bump npm version too
2022-08-01 19:51:31 -07:00
YuviPanda
be39a1a3f2
Bump up test for nodejs version
2022-08-01 19:51:31 -07:00
Yuvi Panda
42bb1a0383
Merge pull request #1171 from SylvainCorlay/update-mamba
...
Update mamba
2022-08-01 16:48:25 -07:00
Sylvain Corlay
8a4c48e88f
Update mamba
2022-08-01 23:03:15 +02:00
YuviPanda
b97db1066d
Fix indexes in tests that look for staging zenodo
2022-07-28 10:02:10 -07:00
YuviPanda
0b76608208
Bump default R version to 4.2
...
Been out for a bit now
2022-07-06 16:39:15 -07:00
YuviPanda
8ed4c96a8e
Put simple test date back to where it was
...
Let's remove unnecessary changes
2022-06-22 16:20:58 -07:00
YuviPanda
2819a6d1b4
Upgrade simple to a newer r snapshot
...
2020 had an older version of testthat that ran into issues
> # Error in get(genname, envir = envir) : object 'testthat_print' not found
2022-06-22 08:49:28 -07:00
YuviPanda
9fa096d0f6
Don't specify distro specific build number
2022-06-22 08:49:28 -07:00
YuviPanda
def4009a6b
Remove another unneeded R unit test
...
We want users to be able to install new versions of R
as soon as they are out, without us having to do anything
special in repo2docker. So we can't actually check for 'invalid'
R versions. This is ok, as we don't have to special case apt repos
or similar when installing R from rstudio's debs
2022-06-22 08:49:28 -07:00
YuviPanda
ba82209e67
Remove tests that checked if specific R packages were installed
2022-06-22 08:49:28 -07:00
Dara Adib
56bf03811e
Add test for shallow clone HEAD
2022-06-02 20:54:43 -04:00
YuviPanda
672c21ff82
Make black happy
2022-04-08 13:55:06 -07:00
Min RK
5cfd798008
handle r version unspecified in environment.yml
2022-02-25 12:03:40 +01:00
Simon Li
c83efb0427
Merge pull request #1130 from minrk/bump-python-docker
...
update Python in some dockerfile tests
2022-02-12 14:58:44 +00:00
Min RK
84220028bd
put micromamba in /usr/local/bin
...
instead of tmp, since we want it to stick around.
2022-01-28 15:58:36 +01:00
Min RK
f2f8bb666e
update Python in dockerfile tests
...
installing with Python 3.5 is starting to fail
2022-01-28 15:48:55 +01:00
Min RK
7f89926e51
Merge pull request #1062 from wolfv/micromamba
...
bootstrap base env with micromamba
2022-01-27 09:42:53 +01:00
Min RK
d728a64dd9
get version comparison from semver
...
since Python is removing version string parsing from the standard library
moves Julia-specific semver utilities to top-level
2022-01-26 15:52:09 +01:00
Min RK
8ab5c81245
remove deprecated call to distutils strtobool
2022-01-26 09:56:15 +01:00
Simon Li
813d28bfdb
Merge pull request #1115 from minrk/set-user-root
...
set USER root after each directive block
2022-01-25 14:55:11 +00:00
YuviPanda
9066d079d0
Use testthat, rather than tinytest
...
tinytest doesn't exist in older MRAN snapshots
2022-01-25 19:38:47 +05:30
Min RK
945c45299f
set USER root after each directive block
...
matches expectations in the directive sequences
not strictly required after preassemble because we have no root steps between preassemble and assemble,
so we could remove the `last_user = "root"` there instead
includes regression test
2022-01-25 14:48:37 +01:00