Commit Graph

6 Commits

Author SHA1 Message Date
Martin Weinelt
9f340b5bf1 treewide: remove redundant numprocesses pytest-xdist parameter
Including the pytest-xdist package automatically configures numprocesses
to $NIX_BUILD_CORES, so specifying these on a package level has become
redundant.
2022-04-15 01:39:54 +02:00
Robert Hensing
1bf8e7a811 pre-commit: Add libiconv for tests on x86_64-darwin
Note: not a checkInput, because we need
this dependency in the role of a _build_
input during tests: library path, etc.

Solves

    E                 = note: ld: library not found for -liconv
    E                         clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
    E
    E
    E               error: failed to compile `rust-hello-world v0.1.0 (/private/tmp/nix-build-python3.9-pre-commit-2.18.1.drv-1/pytest-of-nixbld4/pytest-0/popen-gw3/test_rust_hook0/0/.pre-commit/repomj5itq00)`, intermediate artifacts can be found at `/private/tmp/nix-build-python3.9-pre-commit-2.18.1.drv-1/pytest-of-nixbld4/pytest-0/popen-gw3/test_rust_hook0/0/.pre-commit/repomj5itq00/target`
    E
    E               Caused by:
    E                 could not compile `rust-hello-world` due to previous error

    pre_commit/util.py:146: CalledProcessError

in test case

    FAILED tests/repository_test.py::test_rust_hook
2022-04-08 15:59:07 +02:00
Artturin
d90f4d5030 pre-commit: enable tests
used arch and openSUSE packages for reference
2022-04-04 17:06:19 -07:00
R. Ryantm
b393b879e0 pre-commit: 2.17.0 -> 2.18.1 2022-04-04 17:06:19 -07:00
R. Ryantm
7945280b9b pre-commit: 2.16.0 -> 2.17.0 2022-01-19 08:43:41 +00:00
Phillip Cloud
5c22c16c24 pre-commit: move out of python3packages 2021-12-09 16:13:49 -08:00