Skip to content

Commit

Permalink
CI test wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Feb 21, 2024
1 parent bccc28a commit ecff04f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions pants.toml
Expand Up @@ -27,7 +27,6 @@ pants_ignore = [
"/tools/pants-plugins",
]
build_file_prelude_globs = ["tools/build-macros.py"]
process_execution_local_parallelism = 1

[anonymous-telemetry]
enabled = false
Expand All @@ -43,7 +42,7 @@ root_patterns = [

[test]
extra_env_vars = ["BACKEND_BUILD_ROOT=%(buildroot)s", "HOME"]
attempts_default = 1
attempts_default = 3

[python]
enable_resolves = true
Expand Down Expand Up @@ -100,7 +99,7 @@ install_from_resolve = "ruff"

[pytest]
install_from_resolve = "pytest"
args = ["-vv", "--suppress-no-test-exit-code"]
args = ["-v", "--suppress-no-test-exit-code"]
execution_slot_var = "BACKEND_TEST_EXEC_SLOT"

[coverage-py]
Expand Down
2 changes: 1 addition & 1 deletion tests/manager/conftest.py
Expand Up @@ -403,7 +403,7 @@ class = StreamHandler
cli_schema_oneshot.invoke(click_ctx)


@pytest.fixture(scope="module")
@pytest.fixture()
async def database_engine(local_config, database):
async with connect_database(local_config) as db:
yield db
Expand Down

0 comments on commit ecff04f

Please sign in to comment.