Skip to content

Commit

Permalink
Enable colours in CI (#208) (#219)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4717288)

Co-authored-by: Quentin Pradet <[email protected]>
  • Loading branch information
github-actions[bot] and pquentin authored Jan 7, 2025
1 parent 5de7ba0 commit 6e294c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: CI

on: [push, pull_request]

env:
FORCE_COLOR: 1

jobs:
package:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ profile = black

[tool:pytest]
addopts = -vvv --cov-report=term-missing --cov=elastic_transport
asyncio_default_fixture_loop_scope = "function"

[coverage:report]
omit =
Expand Down
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ async def perform_request(self, *args, **kwargs):


@pytest.fixture(scope="session", params=[True, False])
@pytest.mark.usefixtures("httpbin_node_config")
def httpbin_cert_fingerprint(request) -> str:
"""Gets the SHA256 fingerprint of the certificate for 'httpbin.org'"""
sock = socket.create_connection(("httpbin.org", 443))
Expand Down

0 comments on commit 6e294c5

Please sign in to comment.